by Joakim Ahnfelt-Rønne
A purely functional, reactive scripting language

Purely functional, reactive scripting language.

  • Asynchronous I/O and reactive streaming with live updates
  • Purely functional scripting with type inference and autocompletion
  • Animated, graphical data visualization without leaving the editor
  • Includes modules for working with SSH, files, processes, HTTP and more
json <- Http.fetchJson {url: "https://reqres.in/api/users?page=2"}

people : List {id: Int, "first_name": String, "last_name": String, avatar: String} = 
    Json.toAny json.data

htmlImage = url -> Html.tag "img" [Html.attributes ["src" ~> url]]

peopleWithImages = people |> List.map (
    p -> {image: htmlImage p.avatar, name: p."first_name" + " " + p."last_name"}
)

peopleWithImages |> View.table
Information updated 01/03/20
Note: This entry has not yet been moderated.
View Comments