Make purescript lazier?


Make purescript lazier?

Some of the appeals of using something like purescript is that it learned a number of lessons from Haskell and it targets javascript. One of the main differences to any person who has used haskell for a while, however, is that it defaults to strict evaluation. The strict vs lazy by default debate is far from over and I don't want to get into that here. But as a number of haskellers know, you can make haskell "stricter" using "!" annotations as well as "seq" expressions. Is there a method of doing the reverse in purescript? Is there a way to make the default strict evaluation lazier?

Submitted August 11, 2017 at 11:37PM by captjakk
via reddit http://ift.tt/2vtCvVv

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s