Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 851 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 851 Bytes

haskell-and-elm

Example application using Haskell(servant) and Elm.

API functions in Elm is generated by mattjbray/servant-elm(Elm type is generated by krisajenkins/elm-export).

Moreover, Type that communicated by API is written using fumieval/extensible !!

Example application is referenced to this post.

Run

$ stack build --test
  .
  .
  .
haskell-and-elm-0.1.0.0: test (suite: generate)

Writing: elm-src/Generated/TodoAPI.elm
Success! Compiled 2 modules.
Successfully generated static/main.js

Completed 2 action(s).

$ stack exec -- server
Listening on port 8080