NAME

Language::Haskell::API - Haskell interpreter API

DESCRIPTION

This module represents a haskell interpreter.

See http://www.cs.sfu.ca/CC/SW/Haskell/hugs/server.html for a description of the Hugs API. That document is also available as hugs98-Nov2003/docs/server.html in this module's source distribution.

CONVENIENT METHODS

$hugs->eval($string)

BUILT-IN METHODS

$hugs->clearError

$hugs->setHugsArgs($argc, $argv)

$hugs->getNumScripts

$hugs->reset

$hugs->setOutputEnable($bool)

$hugs->changeDir($path)

$hugs->loadProject($pathname)

$hugs->loadFile($pathname)

$hugs->loadFromBuffer($string)

$hugs->setOptions($string)

$hugs->getOptions

$hugs->compileExpr($module, $string)

$hugs->garbageCollect

$hugs->lookupName($module, $name)

$hugs->mkInt($int)

$hugs->mkAddr($pointer)

$hugs->mkString($string)

$hugs->apply

$hugs->evalInt

$hugs->evalAddr

$hugs->evalString

$hugs->doIO

$hugs->doIO_Int(\$int)

$hugs->doIO_Addr(\$pointer)

$hugs->popHVal

$hugs->pushHVal($hval)

$hugs->freeHVal($hval)

SEE ALSO

Language::Haskell

AUTHORS

Autrijus Tang <autrijus@autrijus.org>

COPYRIGHT

Copyright 2004 by Autrijus Tang <autrijus@autrijus.org>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://www.perl.com/perl/misc/Artistic.html