on d178521 help sign in
elk/core-js
4 folders, 8 files
../ Graphics/Add `monospace` back to `asText` collage/Switch how colors are defined (Ints instead of Floats) and add four colors (grey, yellow, magenta, cyan). foreign/Distinguish between DOM nodes created by Elm and ones imported from JS. runtime/Totally redo the HTTP API. Get rid of `Maybe` in types because the signal filtering functions make them unnecessary. Make requests more flexible with the `request` function which lets you set the type, url, data, and set request headers. Data.jsAdd a bunch of functions to classify chars. Remove an unnecessary `console.log` Everything.jsFix bug in `typeface` and in `makeSpaces`. Remove form example so that it is not duplicated. Guid.jsAdd all core JavaScript libraries. List.jsRename `forall` and `exists` to `all` and `any`. I ended up liking these names better and they do not clash with the potential introduction of `forall` in types. Prelude.jsAdd `atan2`. Text.jsFix bug in `typeface` and in `makeSpaces`. Remove form example so that it is not duplicated. Value.jsChange the type of `show`. It now produces a `String`. cat.batRename `insideForm` to `isWithin`. Rename `foldp1` to `foldp'`, I think the previous name suggests different behavior. Add `foldp1 :: (a -> a -> a) -> Signal a -> Signal a` Add type hints for all of these functions.