aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authormryouse2022-05-26 03:37:28 +0000
committermryouse2022-05-26 03:37:28 +0000
commit2c89221c8bcced63406920c4420c0f3bf5aaa4d6 (patch)
tree39d9eb0b811fbcee6a3752881d709f46012b93f3 /README.md
parentd27e1efe1ac20d7c5efc73a3ffe439f10658f72a (diff)
progress 5/25
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.md b/README.md
index b7de379..9722129 100644
--- a/README.md
+++ b/README.md
@@ -18,9 +18,12 @@
- TODO `(print-all [strings :list]) => :bool ; a list of strings`
### file system
+ - `(exists? [filename :string]) => :bool`
- `(glob [regex :string]) => :list`
- `(read-lines [filename :string]) => :list`
- `(unlink [filename :string]) => :list ; returns empty list on success`
+ - `(with-write [filename :string] [[many :expr]]) => :any ; close file after block ends`
+ - `(write [content :string] [file :handle(?)]) => :list ; not yet sure how to handle, uh, handles`
### comparison and boolean
- `(and [arg :bool] [many :bool]) => :bool`
@@ -40,6 +43,8 @@
### string
- `(concat [arg :string] [many :string]) => :string`
+ - `(join [arg :list] [join-val :string]) => :string`
+ - `(newline) => :string`
- `(split [arg :string] [split-val :string]) => :list`
- `(strip [arg :string]) => :string`
@@ -82,6 +87,8 @@
### lists
- `(empty? [arg :list]) => :bool`
- `(first [arg :list]) => :any ; car`
+ - `(in? [candidate :literal] [target :list]) => :bool`
+ - `(last [arg :list]) => :any`
- `(list [arg :any] [many :any]) => :list`
- `(list-length [arg :list]) => :int`
- `(list-reverse [arg :list]) => :int`