Last active
August 7, 2022 23:58
-
-
Save danielphan2003/ed5ae253ab8bb20288c40246cb490d55 to your computer and use it in GitHub Desktop.
Revisions
-
danielphan2003 revised this gist
Aug 7, 2022 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ How about: ```clojure (defvar concatOnce (defthunk [x y] "${x} ${y}")) -
danielphan2003 revised this gist
Aug 7, 2022 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -11,6 +11,6 @@ How about: joinAll :list list :at {at + 1) :delim delim}")) ``` -
danielphan2003 revised this gist
Aug 7, 2022 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ How about: ```fennel (defvar concatOnce (defthunk [x y] "${x} ${y}")) -
danielphan2003 renamed this gist
Aug 7, 2022 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ How about: ```yuck (defvar concatOnce (defthunk [x y] "${x} ${y}")) -
danielphan2003 created this gist
Aug 7, 2022 .There are no files selected for viewing
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 charactersOriginal 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 ```