O'Hugs is an interpreter for O'Haskell built upon the popular Haskell interpreter Hugs (version 1.3b). New features in version 0.5 of O'Hugs include:
struct Id = id :: a -> a
v = (\r -> r.id r.id) {id x = x}
data Some = Some a (a -> Int) v' = map (\(Some x f) -> f x) [Some 7 (+1), Some "apa" length]
pat <- templ are
now allowed among the state variable definitions in a
template expression. Such a definition results in a new, local
instance of templ being created for each instance
of the enclosing template expression.
C (e.g., Eq
or Show), a predicate C
t is satisfied as long as there exists a unique smallest
supertype of t that is an instance of
C.
fix monad syntax for defining recusive
generator bindings is now supported
(see the O'Haskell survey).
See further the list of known bugs, and some of the planned enhancements for O'Hugs.
cvs -d :pserver:anoncvs@glass.cse.ogi.edu:/cvs loginWhen asked for password, enter
cvs.
cvs -d :pserver:anoncvs@glass.cse.ogi.edu:/cvs checkout -P ohugs
Bug reports, comments, and other suggestions should be sent to nordland@cse.ogi.edu.