Nicolas Di Prima
Nicolas Di Prima
Foundation already provides an [Encoding](https://github.com/haskell-foundation/foundation/blob/master/Foundation/String/Encoding/Encoding.hs#L26-L30) class with an associated type to the `Unit encoding`: ``` haskell class Encoding encoding where -- | the unit element use for the encoding. --...
one could implement `or` in `Foundation/Collection/Collection.hs`: ```haskell or :: (Collection col, Element col ~ Bool) => col -> Bool or = any ((==) True) ```
It would be great to add `and` too. ```haskell and :: (Collection col, Element col ~ Bool) => col -> Bool ```
you can use **base**'s [alloca](https://www.stackage.org/haddock/lts-9.3/base-4.9.1.0/Foreign-Marshal-Alloc.html#v:alloca) and [malloc](https://www.stackage.org/haddock/lts-9.3/base-4.9.1.0/Foreign-Marshal-Alloc.html#v:malloc) functions. The `Ptr` type is the same. You should be able to use the two following lines together without issues: ```haskell import Foreign.Marshal.Alloc...
And for foreign pointer, you can do more or less the same.
ha I see. Ok, good point. Now there is a plan !
I think this can relate to #334
I agree, it is missing. Would be nice to have a proper function to convert from a `String` and from a `LString`. In the mean while, `FilePath` is an instance...
You mean [sequenceA_](https://github.com/haskell-foundation/foundation/blob/master/Foundation/Collection/Mappable.hs#L65-L69) ? Or do you mean going away from `base`'s legacy API and providing only one set of function compatible to the most common denominator between Applicative and...
hmm Looks like I need to spend more time reading your blog posts: http://neilmitchell.blogspot.ch/2015/09/making-sequencemapm-for-io-take-o1-stack.html