packages/base.git
7 years agoRemove another unused definition
Ian Lynagh [Sun, 26 Feb 2012 15:23:21 +0000 (15:23 +0000)] 
Remove another unused definition

7 years agoRemove some unused code
Ian Lynagh [Sun, 26 Feb 2012 15:19:19 +0000 (15:19 +0000)] 
Remove some unused code

7 years agoConvert some FFI bindings to use "value" imports
Ian Lynagh [Sun, 26 Feb 2012 13:52:26 +0000 (13:52 +0000)] 
Convert some FFI bindings to use "value" imports

7 years agoRemove an unsed definition in HsBase.h
Ian Lynagh [Wed, 22 Feb 2012 13:57:33 +0000 (13:57 +0000)] 
Remove an unsed definition in HsBase.h

Bytestring uses it, so I've moved it into that package.

7 years agoFix an FFI decl: it should have been using capi but was using ccall
Ian Lynagh [Wed, 22 Feb 2012 01:46:30 +0000 (01:46 +0000)] 
Fix an FFI decl: it should have been using capi but was using ccall

7 years agoChange CSigset into a (empty) datatype
Ian Lynagh [Wed, 22 Feb 2012 00:30:57 +0000 (00:30 +0000)] 
Change CSigset into a (empty) datatype

This is necessary now that we no longer allow CTYPE pragmas on type
synonyms.

7 years agoConvert some more declarations to use the CAPI
Ian Lynagh [Tue, 21 Feb 2012 18:33:22 +0000 (18:33 +0000)] 
Convert some more declarations to use the CAPI

7 years agoRedo the sigset capi changes
Ian Lynagh [Tue, 21 Feb 2012 17:20:21 +0000 (17:20 +0000)] 
Redo the sigset capi changes

Now that we have the CTYPE pragma we can do this in such a way that
it doesn't break the build on OS X.

7 years agoRemove Control.OldException
Ian Lynagh [Sat, 18 Feb 2012 15:23:30 +0000 (15:23 +0000)] 
Remove Control.OldException

7 years agoFix build on 32bit platforms
Ian Lynagh [Sat, 18 Feb 2012 14:08:40 +0000 (14:08 +0000)] 
Fix build on 32bit platforms

7 years agoUse the new unsigned quotRem primop
Ian Lynagh [Fri, 17 Feb 2012 22:47:35 +0000 (22:47 +0000)] 
Use the new unsigned quotRem primop

7 years agoMerge branch 'master' of http://darcs.haskell.org/packages/base
Simon Peyton Jones [Fri, 17 Feb 2012 14:03:00 +0000 (14:03 +0000)] 
Merge branch 'master' of darcs.haskell.org/packages/base

7 years agoEta expand unsafeCoerce and add a pointer to the Note
Simon Peyton Jones [Fri, 17 Feb 2012 14:02:48 +0000 (14:02 +0000)] 
Eta expand unsafeCoerce and add a pointer to the Note

7 years agoUse throwIO rather than throw where possible
Simon Peyton Jones [Fri, 17 Feb 2012 14:02:33 +0000 (14:02 +0000)] 
Use throwIO rather than throw where possible
This makes exceptions more predictable.

7 years agoAdd CTYPE pragmas for GHC types
Ian Lynagh [Thu, 16 Feb 2012 00:48:21 +0000 (00:48 +0000)] 
Add CTYPE pragmas for GHC types

7 years agoMerge branch 'master' of http://darcs.haskell.org/packages/base
Ian Lynagh [Wed, 15 Feb 2012 00:45:16 +0000 (00:45 +0000)] 
Merge branch 'master' of darcs.haskell.org/packages/base

7 years agoDefine a divModInt function that only does 1 division
Ian Lynagh [Sun, 29 Jan 2012 22:59:50 +0000 (22:59 +0000)] 
Define a divModInt function that only does 1 division

7 years agoFix documentation of minimal complete definition of Bits instances
Johan Tibell [Tue, 14 Feb 2012 19:49:21 +0000 (11:49 -0800)] 
Fix documentation of minimal complete definition of Bits instances

Added testBit, bit, and popCount to the required set.  They no longer
have default implementations as the Num constraint was removed from the
Bits class.

7 years agoUse the new quotRemInt# primop
Ian Lynagh [Sun, 29 Jan 2012 20:14:46 +0000 (20:14 +0000)] 
Use the new quotRemInt# primop

7 years agoFix bug in popCountDefault. Fixes #5872
Johan Tibell [Tue, 14 Feb 2012 17:38:19 +0000 (09:38 -0800)] 
Fix bug in popCountDefault. Fixes #5872

Also add an INLINABLE pragma so that the function can be specialized at
the call site.

7 years agoSystem.Environment: improve 'getEnv' doc to mention closest 'setEnv' we have ('System...
gwern [Sun, 27 Nov 2011 23:08:09 +0000 (18:08 -0500)] 
System.Environment: improve 'getEnv' doc to mention closest 'setEnv' we have ('System.Posix.putEnv')

7 years agoBump base's version to match 7.4.1's
Ian Lynagh [Fri, 10 Feb 2012 18:32:06 +0000 (18:32 +0000)] 
Bump base's version to match 7.4.1's

7 years agoMove Text.Printf tests from testsuite; part of #1161
Ian Lynagh [Fri, 3 Feb 2012 23:29:57 +0000 (23:29 +0000)] 
Move Text.Printf tests from testsuite; part of #1161

7 years agonum009 now only fails on OS X i386, not OS X amd64
Ian Lynagh [Sun, 29 Jan 2012 19:15:33 +0000 (19:15 +0000)] 
num009 now only fails on OS X i386, not OS X amd64

7 years agoFoldable typeclass: make foldl' and foldr' class methods; fixes trac #5538
Ian Lynagh [Tue, 24 Jan 2012 21:42:58 +0000 (21:42 +0000)] 
Foldable typeclass: make foldl' and foldr' class methods; fixes trac #5538

7 years agoAdded missing Functor, Applicative, Alternative and MonadPlus instances Added Applica...
Bas van Dijk [Fri, 11 Nov 2011 17:47:24 +0000 (18:47 +0100)] 
Added missing Functor, Applicative, Alternative and MonadPlus instances Added Applicative and Alternative instances for ReadP and ReadPrec Added Functor, Applicative, Alternative and MonadPlust instances for ArrowMonadx

7 years agoExpand num009 to test more values, and add mingw32 output
Simon Marlow [Fri, 13 Jan 2012 11:09:24 +0000 (11:09 +0000)] 
Expand num009 to test more values, and add mingw32 output

This test checks that calling trig functions via the FFI gives the
same results as the Prelude versions.  But it uses an extreme value to
test: 1e20, and on Windows this gives slightly different results (for
unknown reasons).  However, using less extreme values gives reasonable
results, so I've added more values to the test to check that the
discrepancy is limited to the extreme - indeed it first goes wrong
around 1e19, values below that seem to be fine.

7 years agoUse sharing in the Alternative instance of Maybe
Bas van Dijk [Wed, 14 Dec 2011 11:24:38 +0000 (12:24 +0100)] 
Use sharing in the Alternative instance of Maybe

7 years agoRemove Num superclass of Bits Add and export bitDefault, testBitDefault and popCountD...
Bas van Dijk [Sat, 29 Oct 2011 01:33:08 +0000 (03:33 +0200)] 
Remove Num superclass of Bits Add and export bitDefault, testBitDefault and popCountDefault from Data.Bits.

7 years agoMoved the instances from Control.Monad.Instances to GHC.Base and Data.Either
Bas van Dijk [Wed, 7 Dec 2011 14:37:31 +0000 (15:37 +0100)] 
Moved the instances from Control.Monad.Instances to GHC.Base and Data.Either

7 years agoAdd <> as an alias for mappend
Johan Tibell [Tue, 16 Aug 2011 09:40:34 +0000 (11:40 +0200)] 
Add <> as an alias for mappend

7 years agoRemoving the MonadGroup class. This is to reflect the removal of the default grouping...
George Giorgidze [Wed, 2 Nov 2011 22:46:01 +0000 (23:46 +0100)] 
Removing the MonadGroup class. This is to reflect the removal of the default grouping clause from the SQL-like comprehension notation ;

7 years agoExport setNumCapabilities
Simon Marlow [Tue, 3 Jan 2012 11:33:06 +0000 (11:33 +0000)] 
Export setNumCapabilities

I hadn't noticed that we already have getNumCapabilities here, so we
should also have setNumCapabilities.

7 years agoExport "readEither" and add "readMaybe".
Iavor S. Diatchki [Thu, 22 Dec 2011 23:43:31 +0000 (15:43 -0800)] 
Export "readEither" and add "readMaybe".

This commit implements the change discussed in the following
thread on the Haskell libraries list:

http://www.haskell.org/pipermail/libraries/2011-December/thread.html#17290

NOTE:  This only implements the change for GHC, but the change
makes sense for Hugs too... Perhaps we should simply re-implement 'readEither'
in terms of 'reads'?

7 years agoRe-export Constraint from GHC.Exts
Jose Pedro Magalhaes [Thu, 22 Dec 2011 14:10:30 +0000 (14:10 +0000)] 
Re-export Constraint from GHC.Exts

7 years agoupdate documentation for getNumCapabilities and setNumCapabilities
Simon Marlow [Mon, 19 Dec 2011 14:21:27 +0000 (14:21 +0000)] 
update documentation for getNumCapabilities and setNumCapabilities

7 years agoMerge branch 'master' of http://darcs.haskell.org/packages/base
Ian Lynagh [Sun, 18 Dec 2011 14:15:42 +0000 (14:15 +0000)] 
Merge branch 'master' of darcs.haskell.org/packages/base

7 years agoDocument that -T RTS flag is necessary.
Edward Z. Yang [Fri, 16 Dec 2011 19:50:40 +0000 (14:50 -0500)] 
Document that -T RTS flag is necessary.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
7 years agoRemove GHC.Exts.traceEventIO
Ian Lynagh [Thu, 15 Dec 2011 20:11:50 +0000 (20:11 +0000)] 
Remove GHC.Exts.traceEventIO

Debug.Trace.traceEventIO should be used instead.

7 years agoFix typo
Ian Lynagh [Thu, 15 Dec 2011 20:23:39 +0000 (20:23 +0000)] 
Fix typo

7 years agoAdd getNumProcessors :: IO Int
Simon Marlow [Wed, 7 Dec 2011 15:39:17 +0000 (15:39 +0000)] 
Add getNumProcessors :: IO Int

7 years agoadd setNumCapabilities :: Int -> IO ()
Simon Marlow [Tue, 6 Dec 2011 15:09:20 +0000 (15:09 +0000)] 
add setNumCapabilities :: Int -> IO ()

{- |
Set the number of Haskell threads that can run truly simultaneously
(on separate physical processors) at any given time.

GHC notes: in the current implementation, the value may only be
/increased/, not decreased, by calling 'setNumCapabilities'.  The
initial value is given by the @+RTS -N@ flag, and the current value
may be obtained using 'getNumCapabilities'.
-}

7 years agorenderStack: reverse the stack trace (most recent frame first)
Simon Marlow [Mon, 5 Dec 2011 10:15:10 +0000 (10:15 +0000)] 
renderStack: reverse the stack trace (most recent frame first)

7 years agodoc update: mention -fprof-auto-calls
Simon Marlow [Mon, 5 Dec 2011 10:14:50 +0000 (10:14 +0000)] 
doc update: mention -fprof-auto-calls

7 years agoRoll back the sigset capi changes
Ian Lynagh [Sun, 4 Dec 2011 13:20:40 +0000 (13:20 +0000)] 
Roll back the sigset capi changes

They broken the build on OSX. See #2979.

7 years agoAdd source locations to call stack entries.
Simon Marlow [Fri, 2 Dec 2011 13:09:51 +0000 (13:09 +0000)] 
Add source locations to call stack entries.

7 years agoChange the layout of stack traces
Simon Marlow [Thu, 1 Dec 2011 11:10:55 +0000 (11:10 +0000)] 
Change the layout of stack traces

Stack trace:
  Main.CAF
  Main.main
  Main.main.xs
  Main.map
  Main.map.go
  Main.f

7 years agoAdd traceStack :: String -> a -> a
Simon Marlow [Wed, 30 Nov 2011 10:37:40 +0000 (10:37 +0000)] 
Add traceStack :: String -> a -> a

-- | like 'trace', but additionally prints a call stack if one is
-- available.
--
-- In the current GHC implementation, the call stack is only
-- availble if the program was compiled with @-prof@; otherwise
-- 'traceStack' behaves exactly like 'trace'.  Entries in the call
-- stack correspond to @SCC@ annotations, so it is a good idea to use
-- @-fprof-auto@ to add SCC annotations automatically.

7 years agoExpand the stack-tracing API
Simon Marlow [Wed, 30 Nov 2011 10:36:11 +0000 (10:36 +0000)] 
Expand the stack-tracing API

 - add whoCreated :: a -> IO [String]
   Get the stack trace attached to an object

 - rename getCCCS to getCurrentCCS

 - add getCCSOf (used to implement whoCreated)

 - add renderStack :: [String] -> String
   A handy function for prettifying a stack

7 years agoUse utf8 when decoding cost centre strings
Simon Marlow [Tue, 29 Nov 2011 15:34:44 +0000 (15:34 +0000)] 
Use utf8 when decoding cost centre strings

7 years agoUse capi to define the fcntl FFI imports
Ian Lynagh [Mon, 28 Nov 2011 18:58:59 +0000 (18:58 +0000)] 
Use capi to define the fcntl FFI imports

7 years agoUse capi some more (part of #5480)
Ian Lynagh [Mon, 28 Nov 2011 18:19:29 +0000 (18:19 +0000)] 
Use capi some more (part of #5480)

7 years agoAdd a way to get hold of the current call stack
Simon Marlow [Tue, 29 Nov 2011 14:10:59 +0000 (14:10 +0000)] 
Add a way to get hold of the current call stack

  GHC.Stack.currentCallStack :: IO [String]

At the moment this uses the profiler's cost-centre stack; maybe in the
future it might use some other mechanism.  Right now it only gives
useful results when profiling and using -fprof-auto or similar, but it
could be quite handy. e.g.

f :: Int -> IO Int
f x = do currentCallStack >>= print; return (x+1)

mapM :: Monad m => (a -> m b) -> [a] -> m [b]
mapM f xs = go xs
  where go []     = return []
        go (x:xs) = do
          x' <- f x
          xs' <- mapM f xs
          return (x':xs')

main = mapM f [42,42]

$ ./stack
["MAIN.MAIN","Main.main","Main.mapM","Main.mapM.go","Main.f"]
["MAIN.MAIN","Main.main","Main.mapM","Main.mapM.go","Main.f"]

7 years agoConvert come FFI bindings to use the capi calling convention
Ian Lynagh [Sat, 26 Nov 2011 16:16:27 +0000 (16:16 +0000)] 
Convert come FFI bindings to use the capi calling convention

7 years agoMake a wrapper for getrusage; part of #5480
Ian Lynagh [Fri, 25 Nov 2011 23:18:57 +0000 (23:18 +0000)] 
Make a wrapper for getrusage; part of #5480

7 years agoSimplify some CPP
Ian Lynagh [Fri, 25 Nov 2011 22:36:50 +0000 (22:36 +0000)] 
Simplify some CPP

7 years agoRemove some unused functions from include/HsBase.h
Ian Lynagh [Fri, 25 Nov 2011 18:00:20 +0000 (18:00 +0000)] 
Remove some unused functions from include/HsBase.h

7 years agoAdd a C wrapper for gettimeofday
Ian Lynagh [Fri, 25 Nov 2011 17:31:45 +0000 (17:31 +0000)] 
Add a C wrapper for gettimeofday

Based on part of a patch from Arnaud Degroote in #5480.
On NetBSD just calling the function directly warns:
    warning: reference to compatibility gettimeofday(); include <sys/time.h>
    to generate correct reference

7 years agoEta contract 'PArr' synonym
Manuel M T Chakravarty [Fri, 25 Nov 2011 12:00:18 +0000 (23:00 +1100)] 
Eta contract 'PArr' synonym

7 years agoRules for powers with small exponents (fixes #5237)
Daniel Fischer [Fri, 25 Nov 2011 02:46:46 +0000 (03:46 +0100)] 
Rules for powers with small exponents (fixes #5237)

Calculating small powers by direct multiplication is more efficient
than using (^). For small exponents known at compile time, there are
now rewrite rules.

7 years agoFix compilation error on windows.
David Terei [Tue, 22 Nov 2011 18:58:28 +0000 (10:58 -0800)] 
Fix compilation error on windows.

7 years agoUpdate system001 output
Ian Lynagh [Sun, 20 Nov 2011 00:11:22 +0000 (00:11 +0000)] 
Update system001 output

7 years agoMove ioref001 to base/tests
Ian Lynagh [Sat, 19 Nov 2011 23:53:35 +0000 (23:53 +0000)] 
Move ioref001 to base/tests

7 years agoWhitespace and modernise some tests
Ian Lynagh [Sat, 19 Nov 2011 23:46:51 +0000 (23:46 +0000)] 
Whitespace and modernise some tests

7 years agoMove lib/System tests to base/tests
Ian Lynagh [Sat, 19 Nov 2011 23:43:03 +0000 (23:43 +0000)] 
Move lib/System tests to base/tests

7 years agoMove ix001 to base/tests
Ian Lynagh [Sat, 19 Nov 2011 23:33:50 +0000 (23:33 +0000)] 
Move ix001 to base/tests

7 years agoWhitespace only in tests
Ian Lynagh [Sat, 19 Nov 2011 23:23:46 +0000 (23:23 +0000)] 
Whitespace only in tests

7 years agoMove Data.List tests to base/tests
Ian Lynagh [Sat, 19 Nov 2011 23:23:29 +0000 (23:23 +0000)] 
Move Data.List tests to base/tests

7 years agoWhitespce only in lexNum
Ian Lynagh [Sat, 19 Nov 2011 23:20:55 +0000 (23:20 +0000)] 
Whitespce only in lexNum

7 years agoMove lexNum to base/tests
Ian Lynagh [Sat, 19 Nov 2011 23:19:34 +0000 (23:19 +0000)] 
Move lexNum to base/tests

7 years agoWhitespace only in hash001 test
Ian Lynagh [Sat, 19 Nov 2011 23:14:21 +0000 (23:14 +0000)] 
Whitespace only in hash001 test

7 years agoMove hash001 to base/tests
Ian Lynagh [Sat, 19 Nov 2011 23:13:30 +0000 (23:13 +0000)] 
Move hash001 to base/tests

7 years agoWhitespace only in tests
Ian Lynagh [Sat, 19 Nov 2011 22:42:42 +0000 (22:42 +0000)] 
Whitespace only in tests

7 years agoMove testsuite/tests/lib/Numeric to base/tests
Ian Lynagh [Sat, 19 Nov 2011 22:37:56 +0000 (22:37 +0000)] 
Move testsuite/tests/lib/Numeric to base/tests

7 years agoMove testsuite/tests/lib/Show to base/tests
Ian Lynagh [Sat, 19 Nov 2011 22:26:41 +0000 (22:26 +0000)] 
Move testsuite/tests/lib/Show to base/tests

7 years agoMove testsuite/tests/lib/Data.Fixed test to base/tests
Ian Lynagh [Sat, 19 Nov 2011 22:17:33 +0000 (22:17 +0000)] 
Move testsuite/tests/lib/Data.Fixed test to base/tests

7 years agoMove lib/Char tests from testsuite to base
Ian Lynagh [Sat, 19 Nov 2011 22:07:24 +0000 (22:07 +0000)] 
Move lib/Char tests from testsuite to base

7 years agoRemove some comments about interfaces being checked against H98
Ian Lynagh [Sat, 19 Nov 2011 21:41:45 +0000 (21:41 +0000)] 
Remove some comments about interfaces being checked against H98

base doesn't follow Haskell 98

7 years agoMove CPUTime001 here from testsuite/tests/lib/CPUTime
Ian Lynagh [Sat, 19 Nov 2011 21:36:10 +0000 (21:36 +0000)] 
Move CPUTime001 here from testsuite/tests/lib/CPUTime

7 years agoGo back to using private-use characters in roundtripping
Max Bolingbroke [Fri, 18 Nov 2011 17:45:34 +0000 (17:45 +0000)] 
Go back to using private-use characters in roundtripping

7 years agoMake the fileSystemEncoding/localeEncoding/foreignEncoding mutable
Max Bolingbroke [Fri, 18 Nov 2011 17:40:55 +0000 (17:40 +0000)] 
Make the fileSystemEncoding/localeEncoding/foreignEncoding mutable

7 years agoAdd "dropWhileEnd", as discussed on the libraries list
Simon Marlow [Mon, 14 Nov 2011 12:40:03 +0000 (12:40 +0000)] 
Add "dropWhileEnd", as discussed on the libraries list

7 years agoAdd GHC.PArr.PArr to break a cycle in compiling Data.Array.Parallel
Manuel M T Chakravarty [Thu, 10 Nov 2011 08:09:49 +0000 (19:09 +1100)] 
Add GHC.PArr.PArr to break a cycle in compiling Data.Array.Parallel

7 years agofix typo
Simon Marlow [Wed, 9 Nov 2011 09:41:11 +0000 (09:41 +0000)] 
fix typo

7 years agoexport tyConName, tyConModule and tyConPackage; deprecate tyConString
Simon Marlow [Tue, 8 Nov 2011 14:47:13 +0000 (14:47 +0000)] 
export tyConName, tyConModule and tyConPackage; deprecate tyConString

7 years agoAdd unsafeShift to Data.Bits
Johan Tibell [Sun, 14 Aug 2011 10:45:27 +0000 (11:45 +0100)] 
Add unsafeShift to Data.Bits

This allows shifting by a non-statically known amount without
introducing a branch (to check for "overflow").

7 years agoexport flushAllHandles (#5594)
Simon Marlow [Mon, 7 Nov 2011 15:24:35 +0000 (15:24 +0000)] 
export flushAllHandles (#5594)

7 years agoadd unsafeFixIO (#5421)
Simon Marlow [Mon, 7 Nov 2011 09:19:09 +0000 (09:19 +0000)] 
add unsafeFixIO (#5421)

7 years agouse MVar to define fixIO, for thread-safety (see #5421)
Simon Marlow [Fri, 4 Nov 2011 15:27:39 +0000 (15:27 +0000)] 
use MVar to define fixIO, for thread-safety (see #5421)

7 years agoFix build on Windows
Max Bolingbroke [Wed, 2 Nov 2011 18:13:41 +0000 (18:13 +0000)] 
Fix build on Windows

7 years agoBe more forgiving about encoding name capitalization/hyphenization
Max Bolingbroke [Wed, 2 Nov 2011 13:46:24 +0000 (13:46 +0000)] 
Be more forgiving about encoding name capitalization/hyphenization

7 years agoAvoid using iconv for the locale TextEncoding if we can help it
Max Bolingbroke [Wed, 2 Nov 2011 13:44:17 +0000 (13:44 +0000)] 
Avoid using iconv for the locale TextEncoding if we can help it

7 years agoUpdate Debug.Trace haddock docs and rename putTraceMsg to traceIO
Duncan Coutts [Wed, 26 Oct 2011 12:37:18 +0000 (13:37 +0100)] 
Update Debug.Trace haddock docs and rename putTraceMsg to traceIO

putTraceMsg is deprecated in favour of traceIO. This makes the names
more consistent.

7 years agoAdd pure traceEvent and re-export from Debug.Trace
Duncan Coutts [Wed, 26 Oct 2011 12:33:48 +0000 (13:33 +0100)] 
Add pure traceEvent and re-export from Debug.Trace

Previously traceEvent was exported only from GHC.Exts and had an IO
type. The new scheme is:

  GHC.Exts.traceEventIO    :: String -> IO ()

  Debug.Trace.traceEventIO :: String -> IO ()
  Debug.Trace.traceEvent   :: String -> a -> a

The new traceEvent has a pure type like Debug.Trace.trace and can be
used in pure code. The previous GHC.Exts.traceEvent is deprecated.

7 years agoadd laws to class documentation
Ross Paterson [Wed, 26 Oct 2011 12:30:42 +0000 (13:30 +0100)] 
add laws to class documentation

7 years agoGHC.Stats: Use camelCase in public APIs
Johan Tibell [Wed, 26 Oct 2011 00:12:06 +0000 (17:12 -0700)] 
GHC.Stats: Use camelCase in public APIs

7 years agoUpdate base for latest Safe Haskell.
David Terei [Wed, 26 Oct 2011 03:43:23 +0000 (20:43 -0700)] 
Update base for latest Safe Haskell.

7 years agoUpdate base for new Safe Haskell design
David Terei [Tue, 25 Oct 2011 18:13:08 +0000 (11:13 -0700)] 
Update base for new Safe Haskell design

7 years agoWarn about ArrowLoop instance for Kleisli Arrows
Ross Paterson [Tue, 25 Oct 2011 15:47:46 +0000 (16:47 +0100)] 
Warn about ArrowLoop instance for Kleisli Arrows

Suggested by Heinrich Apfelmus on the libraries list.

7 years agoFix error in KQueue caused by changes to FFI import requirements
Max Bolingbroke [Fri, 21 Oct 2011 23:42:14 +0000 (00:42 +0100)] 
Fix error in KQueue caused by changes to FFI import requirements