add F2-functions to the REPL javascript
commitf56639aa47a35a434d920a9b710e610ced72222c
authorEvan Czaplicki <evancz@users.noreply.github.com>
dateMon 24 Jun 2019, 16:52 (7 years ago)
parentaf36bb9
compiler/src/Generate/JavaScript.hs+2−1
@@ -85,7 +85,8 @@ generateForRepl ansi localizer (Opt.GlobalGraph graph _) home name (Can.Forall _
8585 debugState = addGlobal mode graph emptyState (Opt.Global ModuleName.debug "toString")
8686 evalState = addGlobal mode graph debugState (Opt.Global home name)
8787 in
88− stateToBuilder evalState
88+ Functions.functions
89+ <> stateToBuilder evalState
8990 <> print ansi localizer home name tipe
9091
9192