mirror of
https://github.com/janet-lang/janet
synced 2026-09-15 22:01:21 +00:00
Add shorthand function literals to janet.
These are similar to the function literals from Clojure (also Fennel), and should make short functions for maps, filters, etc. easier to write.
This commit is contained in:
+1
-2
@@ -44,8 +44,7 @@ static int is_symbol_char_gen(uint8_t c) {
|
||||
c == '>' ||
|
||||
c == '@' ||
|
||||
c == '^' ||
|
||||
c == '_' ||
|
||||
c == '|');
|
||||
c == '_');
|
||||
}
|
||||
|
||||
int main() {
|
||||
|
||||
Reference in New Issue
Block a user