Menu

#119 Add support for Elm language

v1.65
closed
None
1
2016-02-19
2016-02-16
Anonymous
No

Elm is a functional programming language with a Haskell-like syntax.

-- this is a comment
render : List Tx -> Html
render lst =
  ul [] (List.map (\tx -> li [] [text tx.id, text " ", text <| toString tx.valueOut]) lst)

{-
    multi-line comment
-}
model : Signal (List Tx)
model = Signal.foldp update [] (Signal.map decodeTx mailbox.signal)

Discussion

  • Al Danial

    Al Danial - 2016-02-17
    • status: open --> accepted
    • assigned_to: Al Danial
     
  • Al Danial

    Al Danial - 2016-02-17

    Thanks for the concise description of Elm's important features. I'll add support but note development has moved to https://github.com/AlDanial/cloc/ and the code will be updated there.

     
  • Al Danial

    Al Danial - 2016-02-19
    • status: accepted --> closed
     
  • Al Danial

    Al Danial - 2016-02-19

    I opened cloc in an editor with the intent to add Elm then saw I already implemented it a while back. You can grab the latest version, 1.66, from https://github.com/AlDanial/cloc/releases

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB