A strongly-typed language that compiles to JavaScript
OTHER License
Bot releases are hidden (Show)
Published by paf31 over 10 years ago
Support for blocks has been removed. (paf31)
Type class instances must now be named (paf31)
instance showNumber :: Show Number where
...
Prelude modules now follow a naming scheme similar to haskell (e.g. Data.Maybe
, Control.Monad
) (garyb)
Many modules that were previously part of the Prelude have been split into individual libraries, now distributed via Bower (garyb)
Multiple modules with the same name are now disallowed rather than merged (garyb)
The Prelude
module is now imported automatically. Conflicts can be avoided by using qualified imports or an explicit import list. (garyb, paf31)
Overlapping instances are no longer allowed. The Prelude
and core libraries have been updated accordingly. (paf31)
Functor
, Applicative
, Monad
are now part of a class heirarchy that include Apply
and Bind
. return
is now an alias for pure
. (joneshf, paf31, garyb)
Semigroupoid
is now a superclass of Category
(garyb)
(:)
is now part of Prelude (garyb)
(!!)
has been renamed to Prelude.Unsafe.unsafeIndex
and a safe version has been added to Data.Array
(garyb)
let
keyword can introduce several local (possibly mutually recursive) bindings, along with optional type signatures. (paf31)where
clauses are now supported in value declarations, with the same rules as let
bindings (garyb)--codegen
controls which modules will have Javascript and externs generated (paf31)psc-make
now generates CommonJS-compatible modules, which can be used with require()
in node
. psc
still generates modules for use in the browser. (paf31, garyb).
(garyb):t
command for checking the type of a value (paf31)show
has been improved (joneshf).psci
file in the current directory. If such a file exists, it should contain a list of commands to run on startup. (paf31)import qualified M as X
(garyb)Prim.Object
(with kind # * -> *
) (paf31)--no-tco
and --no-magic-do
flags (garyb)--verbose-errors
or -v
(paf31)(++)
is now an alias for the Semigroup operator (<>)
(paf31)sort
no longer mutates arrays (joneshf)--externs
) are now working again (paf31)*
(paf31)sequence $ [Just 1]
from typechecking was fixed (paf31)grunt-purescript
plugin has been updated to provide support for new command line options.gulp-purescript
plugin available for compiling with Gulp.hierarchy
executable which will generate .dot
diagrams based on the type class hierarchy of a module. The Prelude docs have been updated to include such a type class diagram. (joneshf)