Purescript: Instances with just one method do not require that the method be indented

Created on 17 Jun 2017  路  3Comments  路  Source: purescript/purescript

That is, the following compiles:

data Unit = Unit

instance eqUnit :: Eq Unit where
eq _ _ = true
breaking bug new contributor syntax

Most helpful comment

New contributor here -- I'd be happy to give this one a try.

All 3 comments

New contributor here -- I'd be happy to give this one a try.

@paf31 , New contributor here -- I'd be happy to give this one a try. What more is needed here?

@kpadmasola There was a previous PR for this, which I need to include in the changes for 0.12.0.

https://github.com/purescript/purescript/pull/2965

Thank you though, and if you're interested in finding something else to work on, maybe we can help on Slack.

Was this page helpful?
0 / 5 - 0 ratings