addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwchatcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-crosscrosseditemptyheartfacebookfolderfullheartglobegmailgoogleimagesinstagramlinklocation-pinmagnifying-glassmailminusmoremuplabelShape 3 + Rectangle 1outlookpersonplusprice-ribbonImported LayersImported LayersImported Layersshieldstartrashtriangle-downtriangle-uptwitteruseryahoo

Tucson Functional Programmers Message Board › Random Problem Example Code

Random Problem Example Code

Chas L.
user 46202552
Group Organizer
San Francisco, CA
Post #: 4
I decided to put this example code here for posterity after seeing how Chris put up his .ghci file.

At the meetup on 11/20, we discussed a series of toy programs I wrote to demonstrate variations on Haskell style and use of particular techniques. This is the code that we discussed. If you want to run it, you will need to install the lens package (cabal install lens) to compile it. ghc RandomProblem[n].hs -o random compiles and ./random runs it.
Powered by mvnForum

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy