amuletml / amulet

An ML-like functional programming language
https://amulet.works/
BSD 3-Clause "New" or "Revised" License
328 stars 16 forks source link

Nested module open results in wrong order #231

Closed Lupus closed 5 years ago

Lupus commented 5 years ago
test.ml[5:11 ..5:102]: error (E1001)
  Module not in scope: `Raw.Json`

  Arising from use of the expression
  │ 
5 │   let v = Json.Raw.(decode "[1, 2, 3, true, null, \"foo\", {\"baz\": null, \"bar\": 123}]" |> to_json)
  │           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Reverse of list is missing somewhere? :)