Created
May 1, 2017 10:35
-
-
Save anonymous/2c8a0ce1f68845bb9884cbc444e12a35 to your computer and use it in GitHub Desktop.
This file contains 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
module Try1 where | |
open import Agda.Builtin.List | |
open import Agda.Builtin.String | |
e0 : List String | |
e0 = [] | |
e1 : List String | |
e1 = "a" ∷ [] | |
-------------- | |
js result: | |
_jAgdaTry.e0 -> function (x0) { return x0["[]"](); } | |
_jAgdaTry.e1 -> | |
function (x2) { | |
return x2["_∷_"](x0, x1); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment