Le 15 février 2012 21:32, JP Moresmau jpmores...@gmail.com a écrit :
OK, thanks all, I can stop worrying being an uncouth Frenchman, then...
Not that I post a lot, but you had me worried for a while, too.
David.
___
Haskell-Cafe mailing list
Hello,
eagletmt implemented a Vim plugin for ghc-mod:
https://github.com/eagletmt/ghcmod-vim
Happy Haskell programming on Vim!
--Kazu
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
On Thu, Feb 16, 2012 at 12:56 AM, Kazu Yamamoto k...@iij.ad.jp wrote:
2) build-dependency
I need to repeat all build-dependency of a library section to
a test suite section. Specifying the library itself to
build-dependency of a test suite section does not work.
This violates the DRY
On 16 February 2012 08:51, Kazu Yamamoto k...@iij.ad.jp wrote:
eagletmt implemented a Vim plugin for ghc-mod:
https://github.com/eagletmt/ghcmod-vim
Happy Haskell programming on Vim!
Note that there's also support for ghc-mod using [syntastic][1] for
vim, which is well supported for
2) build-dependency
I need to repeat all build-dependency of a library section to
a test suite section. Specifying the library itself to
build-dependency of a test suite section does not work.
This violates the DRY philosophy.
You may specify the same library as a dependency given
On Thu, Feb 16, 2012 at 7:24 AM, Kazu Yamamoto k...@iij.ad.jp wrote:
Do you mean that if we separate directories for src and test,
build-depends of test-suite works, and if we don't separate, it does
not work?
If we have separate directories, then you can build-depends:
own-package. This
On Thu, Feb 16, 2012 at 09:51, Kazu Yamamoto k...@iij.ad.jp wrote:
Hello,
eagletmt implemented a Vim plugin for ghc-mod:
https://github.com/eagletmt/ghcmod-vim
Happy Haskell programming on Vim!
Thank you for pointing this out on the list. My Vim setup has now
improved by a few
On Wed, Feb 15, 2012 at 9:51 PM, Thomas Schilling
nomin...@googlemail.comwrote:
On 15 February 2012 16:17, Dan Maftei ninestrayc...@gmail.com wrote:
1 When profiling my code with -auto-all, my .prof file names some
sub-expressions with a backslash. Cf. below. What are these?
e_step
On 02/16/2012 08:21 PM, Magnus Therning wrote:
On Thu, Feb 16, 2012 at 09:51, Kazu Yamamotok...@iij.ad.jp wrote:
Hello,
eagletmt implemented a Vim plugin for ghc-mod:
https://github.com/eagletmt/ghcmod-vim
Happy Haskell programming on Vim!
Thank you for pointing this out on the
Neat, thanks Johan! (I had no idea it was so easy to post to Reddit.)
I also put the proposed project on the trac:
http://hackage.haskell.org/trac/summer-of-code/ticket/1608
So feel free to contact me, interested students!
Cheers,
-Ryan
On Thu, Feb 16, 2012 at 12:51 AM, Johan Tibell
Got this figured out, so I thought I'd update the list:
The problem was a call to `addFinalizer` on a `Socket` value, where
data Socket a = Socket {
_socket :: Ptr ()
, _sockLive :: IORef Bool
}
Under 7.4.1 with -threaded, the finalizer was being run prematurely. I'm
not clear
Since people are mentioning how great the Haskell type system is for
refactoring, here's one of those wow, that's really great experiences I
just had hacking on some Java code in Eclipse. I wanted to remove duplicate
code, so I selected one of the duplications and used Refactor-Extract
method. To
On 16/02/2012, at 12:21 PM, Christoph Breitkopf wrote:
Apart from the IDE matter, I'd also would like to see some sort of rating
system on Hackage, or at least some support to choose between the available
packages. Indicators might be popularity, actively maintained, age, ... Many
Hello,
On Thu, Feb 16, 2012 at 5:40 AM, Ryan Newton rrnew...@gmail.com wrote:
I'm interested in mentoring any projects related to concurrent data
structure implementation. Is it too late to propose new projects?
http://parfunk.blogspot.com/2012/02/potential-gsoc-haskell-lock-free-data.html
It seems like it would still be useful for *optimizing* the implementation
of STM in Haskell; in particular, small transactions seem like a great way
to implement lock-free data structures by handling the non-composability of
compare-and-swap.
So while you wouldn't implement atomically a by
On Thu, Feb 09, 2012 at 11:40:28AM -0800, John Meacham wrote:
On Thu, Feb 9, 2012 at 11:23 AM, Ian Lynagh ig...@earth.li wrote:
On Thu, Feb 09, 2012 at 04:52:16AM -0800, John Meacham wrote:
Since CSigSet has sigset_t associated with it, 'Ptr CSigSet' ends up
turning
into 'sigset_t *'
On Thu, Feb 16, 2012 at 1:20 PM, Ian Lynagh ig...@earth.li wrote:
I've now implemented this in GHC. For now, the syntax is:
type {-# CTYPE some C type #-} Foo = ...
newtype {-# CTYPE some C type #-} Foo = ...
data {-# CTYPE some C type #-} Foo = ...
The magic for (Ptr a) is built in
The desugaring is simpler with the current setup:
do { e }
= e
do { let p = e; STMTS }
= let p = e in (do { STMTS })
do { e; STMTS }
= e (do { STMTS })
do { p - e; STMTS }
= e = \x - case x of { p - (do { STMTS }) ; _ - fail pattern match
failure }
[x is a fresh variable]
My
Sometimes we want to store very large collection types in RAM -- such as a
Data.Map or Data.IxSet.
It seems like we could trade-off some speed for space savings by
compressing the values in RAM.
Lemmih has previously created compact-map:
http://hackage.haskell.org/package/compact-map
which
On Thu, Feb 16, 2012 at 3:51 PM, Jeremy Shaw jer...@n-heptane.com wrote:
Sometimes we want to store very large collection types in RAM -- such as a
Data.Map or Data.IxSet.
It seems like we could trade-off some speed for space savings by compressing
the values in RAM.
Lemmih has previously
On Thu, Feb 16, 2012 at 1:51 PM, Jeremy Shaw jer...@n-heptane.com wrote:
Sometimes we want to store very large collection types in RAM -- such as a
Data.Map or Data.IxSet.
It seems like we could trade-off some speed for space savings by compressing
the values in RAM.
Not knowing the actual
On Thu, Feb 16, 2012 at 2:03 PM, Antoine Latter aslat...@gmail.com wrote:
You could have a re-implemented HashMap which would un-pack the
payload's ByteString constructor into the leaves of the HashMap type
itself.
Then you would save on both the keys and the values.
Note that ByteString has
On Thu, Feb 16, 2012 at 4:29 PM, Johan Tibell johan.tib...@gmail.com wrote:
On Thu, Feb 16, 2012 at 2:03 PM, Antoine Latter aslat...@gmail.com wrote:
You could have a re-implemented HashMap which would un-pack the
payload's ByteString constructor into the leaves of the HashMap type
itself.
Hi, cafe,
I find myself in the unusual position of having to recommend a few
books on Java to people who want to use it professionally. As the people
demanding this live in Burundi, I can't really say Learn Haskell.
Odds are they won't find a job there if they don't use mainstream languages.
Is
Is there any book on Java that approaches the language in a way
that doesn't make programmers impervious to FP and Haskell?
Two standard books are Effective Java (EJ) and Java Concurrency in
Practice (JCIP). They aren't introductory; but I think they are a good
idea if you want to use Java on
Hello,
I have been looking through Hackage database for a Haskell
implementation of a database(not a binding) but couldn't find anything.
Probably it was under my nose??
Vasili
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
Are you looking for something like acid-state?
Aristid
Am 17.02.2012 07:57 schrieb Vasili I. Galchin vigalc...@gmail.com:
Hello,
I have been looking through Hackage database for a Haskell
implementation of a database(not a binding) but couldn't find anything.
Probably it was under my
Hi Café.
Has anyone read the news at http://kennethreitz.com/xcode-gcc-and-homebrew.html?
It looks like Apple is going to support a minimalist command-line
based toolchain for Xcode called Command Line Tools for Xcode based
on the OSX-GCC-Installer project.
Would Haskell support this rather
How about recommending a Scala book instead of Java? That would teach a
functional mindset, and on stepping back to Java, they'd just have a
different syntax for types, and some missing stuff.
On the Java side, I own A Little Java, a Few Patterns by Friedmann and
Felleisen. This would certainly
Hello,
I am interested in exploring more in depth FRP. I had a look at the wiki
page and started to explore reactive which looked promising at first
glance and backed by quite a few articles and tutorials, but 1) it did not
install properly on my haskell platform and 2) from the mailing-list
30 matches
Mail list logo