Hugs 98 ~ Haskell 98 Examples

home1 home2
 Bib
 Algorithms
 Bioinfo
 FP
 Logic
 MML
 Prog.Lang
and the
 Book

FP
 Haskell
  Hugs98
   Hello

  Haskell98
  e.g.1996
Hugs98 is an interpreter for Haskell 98 ±
Unix command is hugs load is :load file.hs to quit :q help is :?
e.g. see user manual ...
> hugs
 ...
Prelude> :load fact.hs
 ...
Fact> fact 10
3628800
etc.
where file fact.hs contains:
 module Fact where
  fact 0 = 1
  fact n = n * fact(n-1)
 
[- Hugs98, c2002]
Coding Ockham's Razor, L. Allison, Springer

A Practical Introduction to Denotational Semantics, L. Allison, CUP

Linux
 Ubuntu
free op. sys.
OpenOffice
free office suite
The GIMP
~ free photoshop
Firefox
web browser

© L. Allison   http://www.allisons.org/ll/   (or as otherwise indicated),
Faculty of Information Technology (Clayton), Monash University, Australia 3800 (6/'05 was School of Computer Science and Software Engineering, Fac. Info. Tech., Monash University,
was Department of Computer Science, Fac. Comp. & Info. Tech., '89 was Department of Computer Science, Fac. Sci., '68-'71 was Department of Information Science, Fac. Sci.)
Created with "vi (Linux + Solaris)",  charset=iso-8859-1,  fetched Tuesday, 19-Mar-2024 14:58:18 AEDT.