- Update to 0.8.2

Obtained from:	FreeBSD Haskell
This commit is contained in:
Gabor Pali 2012-06-03 21:53:10 +00:00
parent 2e6e53cfd5
commit a0d9f58543
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=298209
5 changed files with 11 additions and 40 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= mueval
PORTVERSION= 0.8.1
PORTREVISION= 4
PORTVERSION= 0.8.2
CATEGORIES= devel haskell
MAINTAINER= haskell@FreeBSD.org

View File

@ -1,2 +1,2 @@
SHA256 (cabal/mueval-0.8.1.tar.gz) = 41c6ab1d0f406106061322ae98aecc8bd650b2c41ae1a32abdbaad00513646a5
SIZE (cabal/mueval-0.8.1.tar.gz) = 14744
SHA256 (cabal/mueval-0.8.2.tar.gz) = b8e515cbe56a0c64f1768420d621704ad16f4ede3046ef124e12545d3e684dab
SIZE (cabal/mueval-0.8.2.tar.gz) = 14906

View File

@ -1,11 +0,0 @@
--- ./Mueval/Interpreter.hs.orig 2011-01-11 21:24:11.000000000 +0100
+++ ./Mueval/Interpreter.hs 2011-03-13 14:28:39.132489232 +0100
@@ -120,7 +120,7 @@
exceptionMsg = "*Exception: "
-- | Renders the input String including its exceptions using @exceptionMsg@
-render :: (Control.Monad.Trans.MonadIO m)
+render :: (Functor m, Control.Monad.Trans.MonadIO m)
=> Int -- ^ max number of characters to include
-> String -- ^ input
-> m (String, Bool) -- ^ ( output, @True@ if we found an exception )

View File

@ -1,11 +0,0 @@
--- ./mueval.cabal.orig 2011-01-11 21:24:11.000000000 +0100
+++ ./mueval.cabal 2011-03-13 14:27:32.901910764 +0100
@@ -31,7 +31,7 @@
library
exposed-modules: Mueval.Parallel, Mueval.Context, Mueval.Interpreter,
Mueval.ArgsParse, Mueval.Resources
- build-depends: base>=4 && < 5, containers, directory, mtl<1.2, filepath, unix, process,
+ build-depends: base>=4 && < 5, containers, directory, mtl, filepath, unix, process,
hint>=0.3.1, show>=0.3, utf8-string, Cabal, extensible-exceptions
ghc-options: -Wall -static -O2

View File

@ -1,15 +1,9 @@
Mueval is a Haskell interpreter. It uses the GHC API to evaluate
arbitrary Haskell expressions.
Mueval is a Haskell interpreter. It uses the GHC API to evaluate arbitrary
Haskell expressions. Importantly, mueval takes many precautions to defang
and avoid "evil" code. It uses resource limits, whitelisted modules,
special Show instances for IO, threads, processes, changes of directory,
and so on to sandbox the Haskell code. It is, in short, intended to be a
standalone version of Lambdabot's famous evaluation functionality. For
examples and explanations, please see the README file. Mueval is POSIX-only.
Importantly, mueval takes many precautions to defang and avoid
"evil" code. It uses resource limits, whitelisted modules, special
Show instances for IO, threads, processes, changes of directory, and
so on to sandbox the Haskell code.
It is, in short, intended to be a standalone version of Lambdabot's
famous evaluation functionality. For examples and explanations, please
see the README file.
Mueval is POSIX-only.
WWW: http://code.haskell.org/mubot/
WWW: http://code.haskell.org/mubot/