On Feb 12, 4:22 am, Simon Michael wrote:
> Exciting! But on a mac, I can't get the window to become focussed or accept
> input. Tips ?
Tips:
$ cabal install mkbndl
$ cd ~/.cabal/bin
$ mkbndl dow
$ open Dow.app
Ok, but you need to click the right control key to select stuff on the
menu, and you
On Jul 22, 7:44 pm, Felipe Lessa wrote:
> > type TypeOfF a = a -> Maybe (TypeOfF' a)
> > newtype TypeOfF' a = F {unF :: TypeOfF a}
An interesting observation is that "ListT ((->) a) ()" would also do
the job.
If one would want to also generalize "filter" this way,
a more appropriate type would be
Hi,
I am pleased to announce the release of ListTree.
ListTree is a package for combinatorial search and pruning of trees,
and should be useful for problems such as those in Google Code Jam
(where I, and possibly others* could make use of it), but possibly
could even be useful for real applications
g functions which are aware of
their pruning methods.
cheers,
Yair
On Sep 27, 9:35 pm, wren ng thornton wrote:
> yair...@gmail.com wrote:
> > Hi,
> > I am pleased to announce the release of ListTree.
> > ListTree is a package for combinatorial search and pruning of trees,
>
> This is what happens all the time, the thing I am trying to implement is
already in the library!
You can easily find those library functions using Hoogle.
In this case Hoogle gives the "sequence" function as its second result
for the query "[[a]] -> [[a]]":
Data.List transpose :: [[a]] -> [[a]]
> I guess TH could probably do this.
I think this does what you wish for:
http://hackage.haskell.org/packages/archive/peakachu/0.2/doc/html/Data-Newtype.html
Example:
> $(mkWithNewtypeFuncs [2] ''ZipList)
> withZipList2 (<*>) [(+3), (*3)] [6, 7]
[9, 21]
> $(mkInNewtypeFuncs [2] ''ZipList)
> getZi
Hi Cafe,
I've created a numpy equivalent for Haskell. (Numpy is a python
library for multi-dimensional arrays and operations on them)
Code at http://github.com/yairchu/numkell
(not yet on hackage because it needs better names)
A numkell array is a pair of a function from integer inputs and a
ran