Re: [Haskell] Tuples & Lists

2012-08-13 Thread Brandon Allbery
On Mon, Aug 13, 2012 at 9:06 PM, KC wrote: > "This part of the conditional can be written more succinctly as: > > all (== test_lcv) [init_lcv, update_lcv, update_lcv']" > > Wouldn't this be be better as tuple avoiding list overhead or does ghc > optimize it out? > Haskell tuples don't work that w

Re: [Haskell] HaXml

2012-11-09 Thread Brandon Allbery
On Fri, Nov 9, 2012 at 6:04 PM, Michael Mossey wrote: > but got > "Ambiguous model name 'Prelude': it was found in multiple packages: base > haskel98-2.0.0.1" > > This sounds like something fundamental about the Haskell packages but I > don't know enough to know what to do. > Modern GHC can't mix

Re: [Haskell] Haskell and Pandoc "Let's Code"-Style Video

2013-01-08 Thread Brandon Allbery
On Tue, Jan 8, 2013 at 5:33 PM, Bob Ippolito wrote: > - Having a PS1 prompt that contained the exit code from the last command > was really clever, I hadn't seen that before. I'm sure some people would be > interested in what the bashrc for that prompt looks like. > Just make sure promptvars is

Re: [Haskell] Newbie

2013-03-07 Thread Brandon Allbery
On Thu, Mar 7, 2013 at 7:45 PM, Dan Lior wrote: > 1) Is this the right place for newbies to post questions about Haskell? > This is most a list for announcements; beginn...@haskell.org is better for these kinds of questions, and haskell-c...@haskell.org for general discussion. pred :: Int -> I

Re: [Haskell] Haskell [x] and x notation - as-pattern example

2013-04-03 Thread Brandon Allbery
On Wed, Apr 3, 2013 at 5:01 AM, Angus Comber wrote: > In the (x:xs) : just delimits each element. so x is the first element. Why > can I not print by using x? > > Also xs is of what type? list of values? So does this mean x is an element > and xs must be of type list? Confused... > Actually, you

Re: [Haskell] [Haskell-cafe] Haskell Weekly News: Issue 316

2015-02-06 Thread Brandon Allbery
On Fri, Feb 6, 2015 at 7:59 AM, Takenobu Tani wrote: > and, to haskell-cafe, > "Haskell Weekly News: Issue 316" original message[1] had sent only to > haskell@haskell.org? > (not to haskell-cafe? or my mailer trouble?) > gmail suppresses duplicate messages, so if you are subscribed to both lists

Re: [Haskell] Rank-N types with (.) composition

2015-02-10 Thread Brandon Allbery
On Tue, Feb 10, 2015 at 6:19 PM, Tyson Whitehead wrote: > Out of curiosity, how would you write the special internal type that ($) > has that separates it from ($') above? I don't think there's any way to write the type. Remember that GHC uses System Fc internally; that can represent more types

Re: [Haskell] [Haskell-cafe] ANNOUNCE: GHC version 7.10.2

2015-07-30 Thread Brandon Allbery
On Thu, Jul 30, 2015 at 12:52 PM, James M wrote: > There was talk from an earlier email thread of releasing the Haskell > Platform at the same time as 7.10.2. I think the right place to ask this is librar...@haskell.org. I would imagine they're in final testing and/or getting release packages i

Re: [Haskell] ANNOUNCE: Haskell Platform 7.10.2-a (Mark Lentczner)

2015-08-05 Thread Brandon Allbery
There's also the path taken by Homebrew on OS X... make /usr/local owned by you, since you probably only have one user on the machine anyway. (I suggest avoiding any suid-root executables in /usr/local in this case.) On Wed, Aug 5, 2015 at 10:02 PM, Haisheng Wu wrote: > I think it depends on how

Re: [Haskell] libiconv trouble?

2015-08-15 Thread Brandon Allbery
On Sat, Aug 15, 2015 at 4:26 PM, David Banas wrote: > Davids-MacBook-Air-2:tmp dbanas$ ghci > GHCi, version 7.10.2: http://www.haskell.org/ghc/ > > :? for help > : can't load .so/.DLL for: libiconv.dylib > (dlopen(libiconv.dylib, 5): image not found) > This seems odd. Did you set DYLD_LIBRARY_