Skip to content
This repository has been archived by the owner on Oct 23, 2018. It is now read-only.

Ch 3 - let binding in PSCi #118

Open
learningps opened this issue Nov 5, 2017 · 0 comments
Open

Ch 3 - let binding in PSCi #118

learningps opened this issue Nov 5, 2017 · 0 comments

Comments

@learningps
Copy link

In this section:
https://github.com/paf31/purescript-book/blob/master/text/chapter3.md#test-early-test-often

It says:

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant