Re: [Haskell-cafe] Is there a best *nix or BSD distro for Haskell hacking?

2007-04-24 Thread Grady Lemoine
again once the features I'm missing out on become important enough to me. --Grady Lemoine On 4/22/07, Ryan Dickie [EMAIL PROTECTED] wrote: I'm running feisty. [EMAIL PROTECTED]:~$ ghc --version The Glorious Glasgow Haskell Compilation System, version 6.6 --ryan On 4/22/07, Dougal Stanton

Re: [Haskell-cafe] mapTuple

2007-01-13 Thread Grady Lemoine
/01/07, Grady Lemoine [EMAIL PROTECTED] wrote: Is there anything in particular you're trying to accomplish? It seems like this is the type of thing you'd accomplish with typeclasses if you had a less general problem than you've presented. For example, mapShowTuple :: (Show a, Show b) = (a, b

Re: [Haskell-cafe] mapTuple

2007-01-12 Thread Grady Lemoine
Is there anything in particular you're trying to accomplish? It seems like this is the type of thing you'd accomplish with typeclasses if you had a less general problem than you've presented. For example, mapShowTuple :: (Show a, Show b) = (a, b) - (String, String) mapShowTuple (x, y) = (show

Re: Re[4]: [Haskell-cafe] Strange type behavior in GHCi 6.4.2

2006-12-30 Thread Grady Lemoine
I tried compiling, but I got a linker error: /usr/lib/ghc-6.4.2/libHSrts.a(Main.o): In function `main': (.text+0x2): undefined reference to `__stginit_ZCMain' /usr/lib/ghc-6.4.2/libHSrts.a(Main.o): In function `main': (.text+0x16): undefined reference to `ZCMain_main_closure' collect2: ld

Re: Re[2]: [Haskell-cafe] Strange type behavior in GHCi 6.4.2

2006-12-29 Thread Grady Lemoine
- (return $! foldr1 f l) end- getCPUTime putStrLn $ Time for ++ desc ++ per list element: ++ show ((end-start) `div` (fromIntegral $ length l)) return result --Grady Lemoine On 12/29/06, Kirsten Chevalier [EMAIL PROTECTED

Re: [Haskell-cafe] Strange type behavior in GHCi 6.4.2

2006-12-28 Thread Grady Lemoine
= ... and foo2 :: Double - Double foo2 = ... when I apply foo1 to a Double, will the compiler (GHC, specifically) generate code that is just as efficient as if I used foo2? Regards, --Grady Lemoine On 12/19/06, Dan Piponi [EMAIL PROTECTED] wrote: On 12/2/06, Chris Kuklewicz [EMAIL PROTECTED] wrote

Re: [Haskell-cafe] Strange type behavior in GHCi 6.4.2

2006-12-28 Thread Grady Lemoine
piece of code for every instance of a typeclass it might encounter, it could bloat the executable beyond all reason. I'll have to do some tests to see if I notice an effect in practice. Thank you, --Grady Lemoine On 12/28/06, Kirsten Chevalier [EMAIL PROTECTED] wrote: On 12/28/06, Grady Lemoine

[Haskell-cafe] Strange type behavior in GHCi 6.4.2

2006-12-02 Thread Grady Lemoine
' Integer - Integer, especially when the type of the expression it's defined as is more general? Is this something I'm not understanding about Haskell, or is it more to do with GHC 6.4.2 specifically? Any help appreciated, --Grady Lemoine ___ Haskell-Cafe

Re: [Haskell-cafe] best Linux for GHC?

2006-11-12 Thread Grady Lemoine
; the latest available from the package system is 6.4.1, but you could always download 6.6 and compile it yourself if necessary. --Grady Lemoine On 11/12/06, Bulat Ziganshin [EMAIL PROTECTED] wrote: Hello haskell-cafe, Now i'm consider installation of some Linux version at my box. My friend offered

Re: [Haskell-cafe] smallest double eps

2006-10-01 Thread Grady Lemoine
belong -- the Numeric library seems mainly concerned with reading and showing numbers, and System is more about interacting with the OS than making statements about the properties of the underlying hardware. --Grady Lemoine ___ Haskell-Cafe mailing list