We can create an entry by using a record literal, which looks just like an anonymous object in JavaScript. Bind it to a name with a let expression:
When trying to use a let binding in PSCi I get this message:
> let a = 2
(line 1, column 9):
unexpected end of input
expecting ., {, ::, operator, "where", indentation at column 5 or "in"
Declarations in PSCi no longer require "let", as of version 0.11.0
In this section: https://github.com/paf31/purescript-book/blob/master/text/chapter3.md#test-early-test-often
It says:
When trying to use a let binding in PSCi I get this message: