

Generated by purs bundle 0.13.6 var PS = ) ( PS ) PS. It is possible to load this file directly into the REPL and to continue working: Guidelines are to only have one module with implicit imports. We can either import all functions in a module implicitly, as is done with Prelude, or list them explicitly.


We also import Data.List which provides the explicitly-listed range and filter functions. Here, we import the Prelude module, which provides mod, =, and many other common functions.
#Getting started with nox and tsearch full#
#Getting started with nox and tsearch mod#
Multiples = filter (\n -> mod n 3 = 0 || mod n 5 = 0) ns Module Euler where import Prelude import Data.List ( range, filter) Next, use the :type command, followed by a space, followed by the name of the value: To see the type of one of these values, first import the appropriate module using the import command. You will see a collection of names of functions from the Prelude which are available to use. Start by pressing the Tab key to use the autocompletion feature. We will use a selection of these commands during this tutorial. :complete Show completions for as if pressing tabįurther information is available on the PureScript documentation repository: :paste paste Enter multiple lines, terminated by ^D :clear Discard all imported modules and declared bindings :reload Reload all imported modules while discarding bindings
