Re: Records in Haskell

2012-01-17 Thread Nils Anders Danielsson
On 2012-01-16 19:16, Yitzchak Gale wrote: Allow nested modules. [...] Perhaps Agda's module/record system can provide some inspiration: http://wiki.portal.chalmers.se/agda/pmwiki.php?n=ReferenceManual.Modules http://wiki.portal.chalmers.se/agda/pmwiki.php?n=ReferenceManual.Records (I

Re: RFC: migrating to git

2011-01-10 Thread Nils Anders Danielsson
On 2011-01-10 16:39, Daniel Peebles wrote: (especially if it lived on github) Even if GitHub is used you should probably arrange some other kind of backup solution, because GitHub reserves the right to delete your repository for any reason at any time (http://help.github.com/terms/). -- /NAD

Re: Advice on Multiple GHC installations

2010-04-13 Thread Nils Anders Danielsson
On 2010-04-12 22:28, Bradford Larsen wrote: 2. If I cannot install multiple ghc versions from a different apt repository, does anyone have advice for how to work with multiple simultaneous installations? A how-to guide or anything like that? I install GHC under /usr/local/stow/ghc-version/

Re: Advice on Multiple GHC installations

2010-04-13 Thread Nils Anders Danielsson
On 2010-04-13 15:08, Dave Bayer wrote: Why not just use symbolic links? When using stow I am just using symbolic links (and directories), except that I don't need to create them all manually, and I can remove all of them with a single command. I don't need to modify my PATH. I only believe

Re: ANNOUNCE: GHC 6.12.1 Release Candidate 1

2009-10-13 Thread Nils Anders Danielsson
On 2009-10-13 08:58, Ian Lynagh wrote: If you're installing one of the Linux bindists then you can use ./configure --prefix=/your/path and again you will have to set up the aliases yourself. And if installing from source you can likewise use ./configure --prefix=/your/path and set up

Re: ghc -e

2004-11-23 Thread Nils Anders Danielsson
On Wed, 24 Nov 2004, Benjamin Franksen wrote: What about putting this thing on the Haskell Wiki? Feel free to do so. I recently noted that some version of GHC (6.3?) ships with a runghc program, so this problem will most likely disappear soon, though.

Re: ghc -e

2004-11-17 Thread Nils Anders Danielsson
On Wed, 17 Nov 2004, Benjamin Franksen wrote: I want to use ghc as a script interpreter, using the '-e' option. The problem is that I can't give the script any command line arguments, because 'ghc -e' intepretes everything argument as the name of a module to compile. I once wrote a script

Re: getUserEntryForName weirdness

2004-10-29 Thread Nils Anders Danielsson
On Fri, 29 Oct 2004, Peter Simons wrote: Is anyone else seeing this on his system? getUserEntryForName [] = print . userName wasabi On Solaris I get the following results (GHC 6.2.2, GHC 6.2.1 exits with Illegal Instruction): Prelude System.Posix.User getUserEntryForName undefined user

Re: [Haskell] -allow-extension-for-bottom

2004-10-12 Thread Nils Anders Danielsson
On Mon, 11 Oct 2004, Serge D. Mechveliani wrote: Consider the compilation flag -allow-extension-for-bottom which changes the language meaning so that allows to ignore the bottom value. For example, the programs (1) (\ x - (if p x then foo (g x) else foo (h x)) ) and (2) (\ x