Skip to content

Instantly share code, notes, and snippets.

@danielphan2003
Last active August 7, 2022 23:58
Show Gist options
  • Save danielphan2003/ed5ae253ab8bb20288c40246cb490d55 to your computer and use it in GitHub Desktop.
Save danielphan2003/ed5ae253ab8bb20288c40246cb490d55 to your computer and use it in GitHub Desktop.

Revisions

  1. danielphan2003 revised this gist Aug 7, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion yuck-defthunk.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    How about:
    ```fennel
    ```clojure
    (defvar concatOnce
    (defthunk [x y] "${x} ${y}"))

  2. danielphan2003 revised this gist Aug 7, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion yuck-defthunk.md
    Original file line number Diff line number Diff line change
    @@ -11,6 +11,6 @@ How about:
    joinAll
    :list list
    :at {at + 1)
    :delim
    :delim delim}"))
    ```
  3. danielphan2003 revised this gist Aug 7, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion yuck-defthunk.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    How about:
    ```yuck
    ```fennel
    (defvar concatOnce
    (defthunk [x y] "${x} ${y}"))
  4. danielphan2003 renamed this gist Aug 7, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion eww-defthunk.md → yuck-defthunk.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    How about:
    ```
    ```yuck
    (defvar concatOnce
    (defthunk [x y] "${x} ${y}"))
  5. danielphan2003 created this gist Aug 7, 2022.
    16 changes: 16 additions & 0 deletions eww-defthunk.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    How about:
    ```
    (defvar concatOnce
    (defthunk [x y] "${x} ${y}"))
    (defvar joinAll
    (defthunk [list ?at ?delim]
    "${list[${
    if at == "" then 0 else at
    }]}${delim}${
    joinAll
    :list list
    :at {at + 1)
    :delim
    ```