- array/push
- assertf
- case
- cond
- deep=
- def
- defn
- empty?
- eprintf
- errorf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://www.rebol.com/r3/docs/concepts/parsing-summary.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (defn capture-empty-element | |
| [& args] | |
| (def sname (first args)) | |
| (case (length args) | |
| 0 (errorf "expected one or more args, got 0") | |
| # | |
| 1 {:tag sname} | |
| # | |
| {:tag sname | |
| :attrs (table ;(drop 1 args))})) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /usr/bin/env janet | |
| # based on: | |
| # | |
| # https://codeberg.org/veqq/rss-reader/src/branch/master/rss-reader.janet | |
| # usage: pass feed urls on command line | |
| # requirements: | |
| # |
- Re-integrate jpm into janet
- from "jpm fails to install spork/json and other native modules"
So Janet's built-in installation is not really intended to be compatible with Linux installation paths and structure, and was designed in such a way to require only a single JANET_PATH for configuration.
- clarfication remark
- How to View Full Email Source and Header in Fastmail
- Why can't I see the masked address to which this email was sent - reddit
- The evolution of the advanced fee scam - Fastmail Custom Support
- Sender authentication - Fastmail > Mail > Technical
- Plus addressing and subdomain addressing - Fastmail > Mail > Technical
- Message Header Field for Indicating Message Authentication Status - RFC 7001
- viewing fastmail email as plain text - hackernews response
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (defn visit | |
| `` | |
| Traverse directory tree starting at `path`, applying | |
| argument `a-fn` to each encountered file or directory path. | |
| `` | |
| [path a-fn] | |
| (assertf (is-dir? path) | |
| "expected dir but got: %n" (os/stat path :mode)) | |
| (def seen? @{}) | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # `(next x)` can be used as a synonym for `(not (empty? x))` | |
| # if `next` returns `nil`, the argument is empty. | |
| (next []) | |
| # => | |
| nil | |
| # if `next` returns non-nil, the argument is not empty. | |
| (next [:a :b]) | |
| # => |
- Excerpt from "The Dawn of Everything"
If, as many are suggesting, our species’ future now hinges on our capacity to create something different (say, a system in which wealth cannot be freely transformed into power, or where some people are not told their needs are unimportant, or that their lives have no intrinsic worth), then what ultimately matters is whether we can rediscover the freedoms that make us human in the first place. As long ago as 1936, the prehistorian V. Gordon Childe wrote a book called Man Makes Himself. Apart from the sexist
NewerOlder