mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-18 17:04:50 +00:00
neaten
This commit is contained in:
parent
e77cda4ee9
commit
a3771d3637
2 changed files with 10 additions and 8 deletions
16
c/todo.txt
16
c/todo.txt
|
|
@ -40,18 +40,18 @@ MAPVAR CHECKLIST:
|
|||
- mapsum UT cases, and valgrind
|
||||
|
||||
* apply mapvar contexts to some built-ins: length, typeof, ... ?
|
||||
- map-in: isabsent, ispresent, ismap, isscalar, length, typeof, depth, deepcount, haskey.
|
||||
? map-out: a plus b? a minus b? stdlib.mlr ?
|
||||
|
||||
- unary m->b ispresent isabsent ismap isscalar
|
||||
- unary m->i length depth deepcount
|
||||
- unary x->s typeof
|
||||
- unary m->b haskey
|
||||
- binary/variadic m,m->m mapsum mapdiff
|
||||
- binary s,s->m split
|
||||
- binary m,s->s join
|
||||
|
||||
- isabsent, ispresent are nonsensical now that maps can be func args
|
||||
- ismap and isscalar predicates
|
||||
- length(@map) and length(map), proxy for NF. make it work with length({...}) and length($*).
|
||||
- typeof(@map) and typeof(map) = "map"; typeof($*) = "srec".
|
||||
- depth on maps
|
||||
- deepcount on maps
|
||||
? split/join: but these are on lists. and would benefit from infix operators?
|
||||
? variadic list-cat function ...
|
||||
? variadic map-cat function ...
|
||||
|
||||
* print mapvar; dump scalarvar
|
||||
* absent-null map-keys -- do what? document.
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ wc -l \
|
|||
containers/*.[ch] \
|
||||
input/*.[ch] \
|
||||
lib/*.[ch] \
|
||||
dsl/*.[ch] \
|
||||
mapping/*.[ch] \
|
||||
output/*.[ch] \
|
||||
stream/*.[ch] \
|
||||
|
|
@ -19,6 +20,7 @@ wc -c \
|
|||
containers/*.[ch] \
|
||||
input/*.[ch] \
|
||||
lib/*.[ch] \
|
||||
dsl/*.[ch] \
|
||||
mapping/*.[ch] \
|
||||
output/*.[ch] \
|
||||
stream/*.[ch] \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue