Re: [Haskell-cafe] Proposal: New syntax for Haskell

2013-09-10 Thread Ian Ross
a) -> a -> [b] -> a > > foldl f z [] = z > > foldl f z (x:xs) = foldl f (f z x) xs > > > > How is that more concise or preferable? > > I thought it was a joke. > > Roman > > ___ > Haskell-Cafe mailing list > Hask

Re: [Haskell-cafe] resources on static analysis

2013-09-10 Thread Ian Ross
. If you could recommend a > paper or a book on this topic I would be grateful. > > Thanks, > Maarten Faddegon > __**_ > Haskell-Cafe mailing list > Haskell-Cafe@haskell.org > http://www.haskell.org/**mailman/listinfo/haskell-caf

Re: [Haskell-cafe] haskore -> lilypond -> typesetting?

2013-08-21 Thread Sturdy, Ian
I think the big question is whether you are dealing with music or scores. a .ly file represents not the music, but the music plus typographic annotations (and I find that even lilypond quite often benefits from hints). Most gui programs represent scores, but I think lilypond stands alone in that

Re: [Haskell-cafe] inv f g = f . g . f

2013-08-17 Thread Ian Ross
g = f g . g > > > > which means you can write > > > > trim = co (inv reverse) (dropWhile isSpace) > > > > but that's optimizing an ever rarer use-case. > > > > > Is this a proposal for addition to something or is it ju

Re: [Haskell-cafe] question about indentation conventions

2013-07-01 Thread Sturdy, Ian
I always preferred (I think going back to my lisp days) foo x y z indenting subsequent arguments to the same level as the first, but I have not convinced haskell-mode to do that for me. (The general rule here being that similar things should be at the same indent, which will alway

Re: [Haskell-cafe] Annotation problem after HP reinstalation

2013-06-26 Thread Sturdy, Ian
Looks to me as if you have OverloadedStrings enabled somewhere, in which case that would be the correct behaviour. IRS From: haskell-cafe-boun...@haskell.org [haskell-cafe-boun...@haskell.org] on behalf of Vlatko Basic [vlatko.ba...@gmail.com] Sent: Wedn

[Haskell-cafe] [ANNOUNCE] fficxx : haskell-C++ FFI binding generator

2013-06-08 Thread Ian-Woo Kim
. Have fun with it! Thanks, Ian-Woo Kim (wavewave) [1] : http://root.cern.ch [2] : http://ianwookim.org/HROOT ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Accessing resource files in tests

2013-05-09 Thread Sturdy, Ian
If you are running the tests from cabal, they will always be started in the directory with the .cabal file, and relative paths from there are fine. If that is not the case, could you provide more details about how you are running the test? Ian R. Sturdy From

Re: [Haskell-cafe] Hackage checking maintainership of packages

2013-05-06 Thread Sturdy, Ian
Being in favor of not needlessly harassing people, even for a few minutes, I would favor issuing such emails only when there is some reason to believe that the package is not maintained. The two situations I can see that would justify such an email: - A dependency exceeds the upper bound listed

[Haskell-cafe] Lambda Calculus question on equivalence

2013-05-02 Thread Ian Price
hope it conveys enough to understand what I'm after. My intuition is no, but I am not sure how to prove it, and it seems to me this sort of question has likely been answered before. Cheers -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the o

Re: [Haskell-cafe] Implementing an embedded language that threads a global structure.

2013-04-24 Thread Ian Bloom
integrate with the type system in Haskell, I've considered returning something other than a pair from my base function (such as a function) but I have yet to figure that out. Thanks for your insights, Ian Bloom ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Implementing an embedded language that threads a global structure.

2013-04-23 Thread Ian Bloom
= (app (app2 f x y) z) app4 f x y z w = (app (app3 f x y z) w) -- Sample Terms trmA = lam "x" (\x -> lam "y" (\y -> app x y)) trmB = lam "y" (\y -> app trmC y) trmC = lam "c" (\c-> app2 (ext add_) c (ext (int_ 1))) trmD = (ext (int_ 3)) trmE

[Haskell-cafe] Implementing an embedded language that threads a global structure.

2013-04-21 Thread Ian Bloom
mple of this is available here: http://hpaste.org/86273 And with source candy here: http://hpaste.org/86274 My goal at this point is just to understand the problem better. I feel I'm at the edge of my understanding of type systems and arity and I'm unsure if what I want to do is possible in

Re: [Haskell-cafe] data types with overlapping component names (in one module)?

2013-04-17 Thread Sturdy, Ian
ley [acow...@seas.upenn.edu] Sent: Tuesday, April 16, 2013 6:13 PM To: Sturdy, Ian Cc: haskell-cafe@haskell.org Subject: Re: [Haskell-cafe] data types with overlapping component names (in one module)? On Tue, Apr 16, 2013 at 4:05 PM, Sturdy, Ian wrote: > 'vinyl' uses type-level literal st

Re: [Haskell-cafe] data types with overlapping component names (in one module)?

2013-04-16 Thread Sturdy, Ian
I have seen some talk about fixing this, but none anywhere close to reality. As far as what you can use now, there are several libraries implementing alternatives to records; 'vinyl' uses type-level literal strings and is very slick (although all fields with the same name have the same type), wh

[Haskell-cafe] [ANN] hoodle-publish-0.1 : publish your hoodle files on the web

2013-04-09 Thread Ian-Woo Kim
sample hoodle publication is also shown in http://ianwookim.org/sasha/hoodle/main.pdf Enjoy! Ian-Woo ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Prolog-style patterns

2013-04-09 Thread Sturdy, Ian
instance, I do not think that the programmer is any more likely to absentmindedly try `f x x = ` than the equivalent `f x y | x == y =`. Bad Eq instances have enough pitfalls already that I do not see much problem with adding another. Ian From: haskell-cafe

Re: [Haskell-cafe] [ANN] hoodle-0.2

2013-03-30 Thread Ian-Woo Kim
to get it going: librsvg2-dev (for > svgcairo), libpoppler-glib-dev (for poppler), libgd2-xpm-dev (for gd). > > > > 2013/3/30 Ian-Woo Kim > >> Hi, all, >> >> Pen note-taking program hoodle, which is being developed entirely in >> haskell, is updated to v

[Haskell-cafe] [ANN] hoodle-0.2

2013-03-29 Thread Ian-Woo Kim
any interesting improvements. (especially adding vertical space tool and pan-zoom widget ) Enjoy~ best, Ian-Woo Kim ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] ANN: hoodle-0.1.1

2013-01-16 Thread Ian-Woo Kim
try. Hope that you will enjoy the new version. best, Ian-Woo Kim p.s. if you are interested in hoodle development and any questions about using hoodle, please subscribe to hoodle google group ( https://groups.google.com/forum/?fromgroups#!forum/hoodle ) . Issuing at http://github.com/wavewave/h

[Haskell-cafe] ANNOUNCE: hoodle : Pen note-taking program written in haskell

2012-12-13 Thread Ian-Woo Kim
you have installed poppler, then you can install hoodle with pdf-annotation function by typing > cabal install -fpoppler hoodle-render hoodle-core hoodle Hoodle Homepage is http://ianwookim.org/hoodle Have fun with hoodle! Thanks. best, Ian-W

Re: [Haskell-cafe] cabal install...

2012-11-21 Thread Sturdy, Ian
The latest version of cabal-dev on Hackage does not seem to have had its dependencies updated for GHC 7.6. Try installing off github (https://github.com/creswick/cabal-dev). Ian Sturdy From: haskell-cafe-boun...@haskell.org [haskell-cafe-boun

Re: [Haskell-cafe] Compilers: Why do we need a core language?

2012-11-20 Thread Sturdy, Ian
imple language, for a language with the complexity of Haskell I dare say that it is impossible: > Because... have you ever tried to write a type-checker for character sequence? >I'm sure some mad genius can do it, but I don't want to be that mad genius.

[Haskell-cafe] Reactive-Banana-Wx Install Trouble

2012-11-19 Thread Ian
ot sure if I'm just using it wrong (I'm quite new to the wx stuff) or if it's a problem with the installation. Any help on these two (possibly related) problems would be fantastic. Cheers, Ian ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Uploading a new hsc2hs

2012-04-27 Thread Ian Lynagh
uploading a trivial fix for > >> hsc2hs to hackage (new build deps).  Even after public attempts to > >> contact anyone in charge of hsc2hs (last January) there still has been > >> no word.  Speak now or forever hold your peace. > >> > > > > I don'

Re: [Haskell-cafe] [Haskell] ANNOUNCE: system-filepath 0.4.5 and system-fileio 0.3.4

2012-02-16 Thread Ian Lynagh
On Thu, Feb 09, 2012 at 11:40:28AM -0800, John Meacham wrote: > On Thu, Feb 9, 2012 at 11:23 AM, Ian Lynagh wrote: > > On Thu, Feb 09, 2012 at 04:52:16AM -0800, John Meacham wrote: > >> > >> Since CSigSet has "sigset_t" associated with it, 'Ptr CSigSet&

Re: [Haskell-cafe] [Haskell] ANNOUNCE: system-filepath 0.4.5 and system-fileio 0.3.4

2012-02-09 Thread Ian Lynagh
s the syntax for associating sigset_t with CSigSet look like? Thanks Ian ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] [Haskell] ANNOUNCE: system-filepath 0.4.5 and system-fileio 0.3.4

2012-02-08 Thread Ian Lynagh
ic functions and includes hacky wrappers > and #defines.) and I'll make it behave just like the ghc one when possible. Great! Thanks Ian ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] [Haskell] ANNOUNCE: system-filepath 0.4.5 and system-fileio 0.3.4

2012-02-06 Thread Ian Lynagh
On Sun, Feb 05, 2012 at 07:17:32PM -0800, John Millikin wrote: > > That was my understanding also, then QuickCheck found a > counter-example. It turns out that there are cases where a valid path > cannot be roundtripped in the GHC 7.2 encoding. This is fixed in GHC 7.4.1.

[Haskell-cafe] ANNOUNCE: hxournal-0.6.3

2012-01-24 Thread Ian-Woo Kim
ch! Thank you for your interest. Enjoy hxournaling! Ian-Woo ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] ANNOUNCE: hxournal-0.5.0.0 - A pen notetaking

2011-12-27 Thread Ian-Woo Kim
xournal? I appreciate your report. Thanks very much. best, Ian-Woo On Tue, Dec 13, 2011 at 5:22 AM, Greg Weber wrote: > I got the program installed after creating the libstdc++.so symlink. > No ink shows up from my drawing though. I am on a Thinkpad X201 Tablet and > xournal works. &g

[Haskell-cafe] ANNOUNCE: xournal-convert-0.1

2011-12-27 Thread Ian-Woo Kim
st. Happy holidays. best regards, Ian-Woo Kim ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] ANNOUNCE: hxournal-0.5.0.0 - A pen notetaking program written in haskell

2011-12-18 Thread Ian-Woo Kim
n! best regards, Ian-Woo Kim On Fri, Dec 16, 2011 at 7:51 AM, Ivan Perez wrote: > Thanks :) > > It's working now. I tried it with XInput and without it. Lines seem > smoother when XInput is activated. > > On 16 December 2011 11:33, Ian-Woo Kim wrote: >> Hi, all, >>

Re: [Haskell-cafe] ANNOUNCE: hxournal-0.5.0.0 - A pen notetaking program written in haskell

2011-12-16 Thread Ian-Woo Kim
exception was: > ExitFailure 1 > > This may be of interest: > > ezyang@javelin:~$ locate gdkconfig.h > /home/ezyang/Dev/gtk+/gdk/gdkconfig.h.win32 > /usr/include/gtk-3.0/gdk/gdkconfig.h > /usr/lib/i386-linux-gnu/gtk-2.0/include/gdkconfig.h > > Edward > > Excerpts

Re: [Haskell-cafe] ANNOUNCE: hxournal-0.5.0.0 - A pen notetaking program written in haskell

2011-12-13 Thread Ian-Woo Kim
about this development will happen there. Thank you . best, Ian-Woo Kim On Tue, Dec 13, 2011 at 2:42 PM, Ian-Woo Kim wrote: > Hi, Ivan, > > Thank you very much for testing. > Yes, I need to have many testers. > > For your problem, first, please send me the console output of

Re: [Haskell-cafe] ANNOUNCE: hxournal-0.5.0.0 - A pen notetaking program written in haskell

2011-12-13 Thread Ian-Woo Kim
ng some attention of interested people. Let me notify you when modifying the code. Thank you again for your interest. Ian-Woo On Tue, Dec 13, 2011 at 8:03 AM, Ivan Perez wrote: > In other news, the program runs, but I can't draw anything. I tried it > with a wacom and a mouse. >

Re: [Haskell-cafe] ANNOUNCE: hxournal-0.5.0.0 - A pen notetaking program written in haskell

2011-12-12 Thread Ian-Woo Kim
0.3 ... : can't > load .so/.DLL for: stdc++ (libstdc++.so: cannot open shared object > file: No such file or directory) > cabal: Error: some packages failed to install: > hxournal-0.5.0.0 failed during the building phase. The exception was: > ExitFailure 1 > > > On 12 Decembe

[Haskell-cafe] ANNOUNCE: hxournal-0.5.0.0 - A pen notetaking program written in haskell

2011-12-12 Thread Ian-Woo Kim
manual will be presented there. Thank you for your interest. Enjoy haskell notetaking! Ian-Woo Kim ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] ANNOUNCE: HROOT-0.5.0.1 - haskell binding to ROOT

2011-07-31 Thread Ian-Woo Kim
edback. Part of this work was done in my "HacPhi 2011" activity. Thank you for HacPhi organizers and all the participants. Ian-Woo ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] function terms

2011-07-06 Thread Ian Childs
On 6 Jul 2011, at 11:16, Henning Thielemann wrote: On Wed, 6 Jul 2011, Ian Childs wrote: Term a is meant to be the simply-typed lambda-calculus as a GADT. Then given two terms App (App "=" l1) r1, and App (App "=" l2) r2, I want to form App (App "=" (App l1 l2

Re: [Haskell-cafe] function terms

2011-07-06 Thread Ian Childs
r1 and r2, match as detailed previously. does that make sense? On 6 Jul 2011, at 10:48, Henning Thielemann wrote: On Wed, 6 Jul 2011, Ian Childs wrote: Yes they are Haskell expressions - I called them terms because actually they are GADTs of type Term a and Term b. I can't use type '

Re: [Haskell-cafe] function terms

2011-07-06 Thread Ian Childs
#x27; having the same type, if they do, but I am wondering how to extend this to the first argument of an arrow type. Thanks On 6 Jul 2011, at 10:23, Henning Thielemann wrote: On Wed, 6 Jul 2011, Ian Childs wrote: Suppose I have two terms s and t of type "a" and "b" res

[Haskell-cafe] (no subject)

2011-07-06 Thread Ian Childs
application only in the correct instance? Thanks, Ian ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] How to ensure code executes in the context of a specific OS thread?

2011-07-05 Thread Ian Lynagh
> If you want a way to run command-line operations in the main thread, > please submit a feature request. I'm not sure it can be done, but > I'll look into it. We already have a way: -fno-ghci-sandbox Thanks Ian ___ Haskell-Cafe m

Re: [Haskell-cafe] Template Haskell a Permanent solution?

2011-01-18 Thread Ian Lynagh
someone enlighten me? > > > > The package 'syb' - 'scrap your boilerplate' looks quite similar. > > Yes, thanks. So the documentation should be updated > to say "package syb" and "module Data.Generics". > > @Ian, can you ta

[Haskell-cafe] Test

2010-11-30 Thread Ian Lynagh
A1 ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Re: Splittable random numbers

2010-11-04 Thread Ian Lynagh
xchange you get robust splitting. I wonder if you can make a splittable generator that uses crypto functions when you split it, but is a common linear-sequence generator otherwise? Thanks Ian ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://w

[Haskell-cafe] Re: [Haskell] haskell.org committee: Call for nominations

2010-09-22 Thread Ian Lynagh
We're half-way through the nomination period now, and have 4 nominations so far. If you're considering nominating yourself, you only have 1 week left! On Wed, Sep 15, 2010 at 01:16:40PM +0100, Ian Lynagh wrote: > > Dear Haskellers, > > The recent discussion indicates

[Haskell-cafe] haskell.org committee: Call for nominations

2010-09-15 Thread Ian Lynagh
decision. More details about the committee's roles and responsibilities are on http://www.haskell.org/haskellwiki/Haskell.org_committee If you have any questions about the process, please feel free to e-mail us at commit...@haskell.org or to contact one of us individually. Thank

[Haskell-cafe] Proposal: Form a haskell.org committee

2010-09-05 Thread Ian Lynagh
me of the people who currently de-facto end up making the decisions currently: Duncan Coutts, Isaac Jones, Ian Lynagh, Don Stewart and Malcolm Wallace. These 5 would still be elligible to nominate themselves. Two of the initial members will stand down after one year, and two after two years, in order

Re: [Haskell-cafe] Broken registration link on hackage trac

2010-01-18 Thread Ian Lynagh
ed - thanks for the report. Thanks Ian ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Recompiling Hackage to estimate the impact of a change [Was: StricterLabelledFieldSyntax]

2009-07-26 Thread Ian Lynagh
nstall packages that it has already installed as a dependency of something else. Thanks Ian ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Recompiling Hackage to estimate the impact of a change [Was: StricterLabelledFieldSyntax]

2009-07-26 Thread Ian Lynagh
On Sun, Jul 26, 2009 at 08:21:00AM +0200, Johan Tibell wrote: > On Sun, Jul 26, 2009 at 3:34 AM, Ian Lynagh wrote: > > > http://hackage.haskell.org/trac/haskell-prime/wiki/StricterLabelledFieldSyntax > > > > In general, I think it would be a good idea to provide some

Re: [Haskell-cafe] Introducing Instances in GHC point releases

2009-05-22 Thread Ian Lynagh
alibs, and the Haskell Platform takes over the role. Thanks Ian ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] community.haskell.org and code.haskell.org problems

2009-05-22 Thread Ian Lynagh
to find the time to do it. Thanks Ian ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Possible floating point bug in GHC?

2009-04-03 Thread Ian Lynagh
s been ever since this code was written, I think): it was looking for basic blocks that used the FPU and adding the code to clear the FPU stack on any non-local exit from the block. In fact it should be doing this on a whole-function basis, rather than individual basic blocks.

Re: [Haskell-cafe] Making videos of your project

2009-03-31 Thread Ian Lynagh
s to their right. I would recommend working in a 640x480 screen area. If you can't show anything in that area, then people won't be able to see anything in your video (at the size/quality youtube shows it, at least). Thanks Ian ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Re: Haskell Logo Voting has started!

2009-03-17 Thread Ian Lynagh
(107: X,B) (108: C,D) (109: E ) (110: ) > > > > moving down X will result in either > > > > (105: A) (106: B) (107: X ) (108: C,D) (109: E ) (110: ) > > > > or equivalently > > > > (105: ) (106: A) (107: B ) (108: X ) (109: C,D) (110: E)

Re: [Haskell-cafe] Re: Logo Preferences

2009-03-09 Thread Ian Lynagh
ctual colour scheme etc to be used, if applicable. Yes, we could have done this in a single vote, but then people would need to spend time creating 30 variants of each logo, and we'd be ranking 3000, rather than 100, options. Thanks Ian ___

Re: [Haskell-cafe] Re: speed: ghc vs gcc

2009-02-21 Thread Ian Lynagh
I think this thread has stopped being useful and started going round in circles, so I've blocked all messages to it and... On Sat, Feb 21, 2009 at 04:28:21PM -0800, Donald Bruce Stewart wrote: > > I'm setting your moderation bit now ...reverted th

Re: [Haskell-cafe] Help using catch in 6.10

2009-02-21 Thread Ian Lynagh
ormation, see: > > http://www.haskell.org/~simonmar/papers/ext-exceptions.pdf See also "Catching all exceptions" http://www.haskell.org/ghc/dist/stable/docs/libraries/base/Control-Exception.html#4 Thanks Ian ___ Haskell-Cafe ma

Re: [Haskell-cafe] Open unqualified imports

2009-01-19 Thread Ian Lynagh
On Fri, Jan 16, 2009 at 06:42:46AM -0800, eyal.lo...@gmail.com wrote: > > Closed-unqualified import: > import Data.Map(Map, lookup) One problem with this style is that you can get lots of conflicts from your VCS if you have multiple people working on the same module. T

Re: [Haskell-cafe] ANN: HTTPbis / HTTP-4000.x package available

2009-01-17 Thread Ian Lynagh
Hi Sigbjorn, On Thu, Jan 15, 2009 at 10:36:35PM -0800, Sigbjorn Finne wrote: > > I've yet to gain access to www.haskell.org and update > http://www.haskell.org/http, Perhaps this would be a good point to move the website to the community server

Re: [Haskell-cafe] Comments from OCaml Hacker Brian Hurt

2009-01-16 Thread Ian Lynagh
s the libraries list can refine them, but someone does need to put the effort into picking a good, small example, getting the phrasing nice, etc. Once the list has settled on good docs, then filing a ticket with the docs attached is definitely useful. Thanks Ian ___

Re: [Haskell-cafe] Re: GHC 6.10.1 for Solaris i86

2009-01-05 Thread Ian Lynagh
cs/ghc-6.10.1-i386-unknown-solaris2.tar.bz2 > it needs libedit.so.0 and libncurses.so.5 Thanks Christian - I've added this to the 6.10.1 download page. Thanks Ian ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Trouble with interact in ghci

2009-01-05 Thread Ian Lynagh
tml/users_guide/ghci-faq.html Thanks Ian ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] haskell compiler never comes back

2008-12-16 Thread Ian Lynagh
#x27;ve lost track of this thread, but if you still think there's a bug then can you report it in the GHC trac please?: http://hackage.haskell.org/trac/ghc/wiki/ReportABug Please give an example without UndecidableInstances if possible, and the smaller the example is the easier it is for u

Re: [Haskell-cafe] workarounds for Codec.Compression.Zlib errors in darcs

2008-11-27 Thread Ian Lynagh
y z and y has type IO CInt then you won't get an error (and I don't think you can even ask for a warning with the current implementations). Should we have (>>) :: (Monad m) => m () -> m a -> m a and force you to write _ <- y ? Thanks

Re: [Haskell-cafe] Possible issue with Hoogle and Haddock?

2008-11-20 Thread Ian Lynagh
; a -> IO c -> IO c > Clearly this is the wrong type, as it should be > bracket :: IO a -> (a -> IO b) -> (a -> IO c) -> IO c > > Is this a bug? Is is something that's well-known? Yes, it's a known bug: http://hackage.haskell.org/trac/ghc/ticket/25

Re: [Haskell-cafe] problem with boolean splicing in templates in ghc 6.10.1

2008-11-12 Thread Ian Lynagh
mkNameG DataName "base" "GHC.Base" "False" +trueName = mkNameG DataName "ghc-prim" "GHC.Bool" "True" +falseName = mkNameG DataName "ghc-prim" "GHC.Bool" "False" Thanks Ian ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Trouble installing ghc-6.10.1 on linux

2008-11-11 Thread Ian Lynagh
nfiguring ghc-6.10.1... > cabal-bin: At least the following dependencies are missing: > Cabal -any, This is the output of a cabal-bin command, right? Appending -v to the commandline might shed some light on what's going wrong. Or if that doesn't help, try "-v 3". Thanks I

Re: [Haskell-cafe] performance difference for binary-0.4.3.1 with ghc-6.8.3 and ghc-6.10

2008-10-29 Thread Ian Lynagh
On Wed, Oct 29, 2008 at 10:40:48AM +0700, Donald Halomoan wrote: > Where can I get ghc-6.10? I cannot see it at haskell.org website. No releases from the 6.10 branch have been made yet. Thanks Ian ___ Haskell-Cafe mailing list Haskell-C

Re: [Haskell-cafe] Error building GHC 6.8.3: "version of ../../compiler/stage1/ghc-inplace could not be determined"

2008-10-19 Thread Ian Lynagh
though. Also, when building yourself, an unregisterised build is more likely to work correctly on PPC/Linux: http://hackage.haskell.org/trac/ghc/wiki/Building/Unregisterised > What's going wrong? How do I fix it? Is there a better mailing list to > ask? glasgow-haskell-users is

Re: [Haskell-cafe] Could not build win32 dll..

2008-10-13 Thread Ian Lynagh
dder sources from example from section > 11.5.4 of user guide It sounds like you have the wrong version of the users guide. 12.6 is the section on Windows DLLs with 6.8.3, and doesn't mention that flag: http://www.haskell.org/ghc/docs/6.8.3/html/us

Re: [Haskell-cafe] Code.haskell.org down

2008-09-29 Thread Ian Lynagh
ity.haskell.org/mrtg/localhost_venet0-day.png it looks like Apache had been unhappy since about 8:30 EDT. I've now restarted it. Not sure what caused the problem. Thanks Ian ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.

Re: [Haskell-cafe] Linux version of ghc-6.8.3 won't intall or run for me: "Floating point exception".

2008-09-04 Thread Ian Lynagh
r > version of libc or whatever. That's right. Thanks Ian ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Hackage -> MacPorts?

2008-09-04 Thread Ian Lynagh
rtainly do it in another repository. (technically, it's one version of ghc 6.*, as the package names use "ghc6" rather than just "ghc"). Having libraries for other implementations is fine in Debian, although most of the libraries are

Re: [Haskell-cafe] ANN: wavconvert 0.1.1

2008-08-19 Thread Ian Lynagh
kaging it I found: 1997-2003, Alastair Reid 2006, Frederik Eaton 2007, Spencer Janssen 2003-2007, [EMAIL PROTECTED] in the sources, plus the copyright for the configure script. Checking the Cabal package description is suitable, or writing a suitable description. Testing the packa

Re: [Haskell-cafe] helping you contribute to darcs (poll results so far)

2008-08-06 Thread Ian Lynagh
On Wed, Aug 06, 2008 at 11:28:58AM -0700, Jeremy Shaw wrote: > At Wed, 6 Aug 2008 10:48:03 +0100, > Ian Lynagh wrote: > > > I've just had a quick read of > > http://citeseer.ist.psu.edu/prakash92undoing.html > > AFAICS this only really deals with the case where

Re: [Haskell-cafe] helping you contribute to darcs (poll results so far)

2008-08-06 Thread Ian Lynagh
e formal reasoning that may be easy to adapt to darcs? I've just had a quick read of http://citeseer.ist.psu.edu/prakash92undoing.html AFAICS this only really deals with the case where there are no conflicts, and doesn't talk about merging. Thanks Ian _

Re: [Haskell-cafe] Fw: patch applied (ghc): Remove the OpenGL family of libraries fromextralibs

2008-07-28 Thread Ian Lynagh
%29&order=priority It would be nice to set up an opengl bug tracker so that we can move them out of GHC's trac, incidentally. Thanks Ian ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Data.Complex.magnitude slow?

2008-07-18 Thread Ian Lynagh
a bug here: http://hackage.haskell.org/trac/ghc/ticket/2450 Ian ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Data.Complex.magnitude slow?

2008-07-17 Thread Ian Lynagh
)) where k = max (exponent x) (exponent y) mk = - k sqr x = x * x and let us know what the results are? Thanks Ian ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Fwd: [GHC] #2407: internal error

2008-06-30 Thread Ian Lynagh
ach the source code for the program you were running, and tell us how you compiled it and how you ran it, then that would be very helpful. Also, is the problem repeatable? There's not much we can do without that info. Thanks Ian ___ Haskell-Ca

Re: [Haskell-cafe] ghc-HEAD: build succeeds, but install fails with linker errors?

2008-06-26 Thread Ian Lynagh
On Thu, Jun 26, 2008 at 03:00:27AM -0400, Reid Barton wrote: > > but during the "make install" step I get the error "make install" is probably broken at the moment. You should be able to use it in-place, though (run compiler/stage2/

Re: Haskell on ARM (was Re: [Haskell-cafe] ANN: Topkata)

2008-06-26 Thread Ian Lynagh
pilogue stuff from the ASM) Note that the mangler is on the way out for 6.10: http://www.haskell.org/pipermail/cvs-ghc/2008-June/042979.html > 5. (Optional), implement native assembly generation You'll need to do this instead. Thanks Ian ___

Re: [Haskell-cafe] message passing style like in Haskell?

2008-06-21 Thread Ian Lynagh
of those >= '\128'. I'll fix it, probably by just removing the specialisation for them. Thanks Ian ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] lhs syntax highlighting in vim

2008-06-11 Thread Ian Lynagh
a TeX file began with some TeX comments. We'd also look for ^\s*%, rather than a % anywhere. If we are going to look at the whole file then checking for comments isn't necessary. Thanks Ian ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Unable to hc-build ghc 6.6.1

2008-06-10 Thread Ian Lynagh
.o(.text+0x13a55): In function `s5cr_info': > : undefined reference to `base_DataziList_zdsintersperse_info' Nothing comes to mind. Were the libraries rebuilt after building GenApply on the machine on which the hc files were generated? Thanks Ian ___

Re: [Haskell-cafe] Issues of the "mailto" link on the list archive page

2008-06-08 Thread Ian Lynagh
To" field with > the value from the "Message-Id" field of current email > head. An optional "Reference" field is informative for most > of the email client, too. If anyone knows how we can make mailman do this better, please let us know. Thanks Ian ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Data.Map traversal.

2008-06-08 Thread Ian Lynagh
t). Please see http://www.haskell.org/haskellwiki/Library_submissions for how to propose changes to the libraries. Thanks Ian ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Announce: ghc-core, command line pager for reading GHC Core

2008-05-23 Thread Ian Lynagh
don't get different random names, so diff more-or-less works). Thanks Ian ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] question about GHC and Unicode

2008-04-27 Thread Ian Lynagh
On Sun, Apr 27, 2008 at 12:29:34PM -0700, Donald Bruce Stewart wrote: > > Ian Lynagh wrote a pure haskell readline implementation a while ago, I think that was Malcolm Wallace. Thanks Ian ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.or

Re: [Haskell-cafe] Announce: bytestring 0.9.1.0

2008-04-21 Thread Ian Lynagh
on that C should be able to do it more efficiently than Haskell impls. Thanks Ian ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Announce: bytestring 0.9.1.0

2008-04-21 Thread Ian Lynagh
king it easier to > upgrade bytestring versions. Ian, have you looked at this? I'd certainly be happy for bytestring to be removed from the bootlibs. When I last looked this was pretty easy to do. The only reason it's still in bootlibs at the moment is that you and/or Duncan were talking

[Haskell-cafe] ANNOUNCE: Well-Typed LLP - The Haskell Consultants

2008-04-06 Thread Ian Lynagh
Fellow Haskellers, We (Björn Bringert, Duncan Coutts and Ian Lynagh) are pleased to announce that we have recently set up a Haskell consultancy company, Well-Typed LLP (http://www.well-typed.com/). Our services include application development, library and tool maintenance, project advice, and

Re: [Haskell-cafe] installing ghc-6.8.2

2008-04-02 Thread Ian Lynagh
u have. Putting this in mk/build.mk ought to let the build go through: SRC_HC_OPTS = -fasm GhcStage1HcOpts = -fasm Thanks Ian ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] SYB with class: Bug in Derive.hs module

2008-04-02 Thread Ian Lynagh
Data ctx (BinTree a) where > > Note the recursive |Data ctx (BinTree a)| in the context. This looks like it is related to these tickets: http://hackage.haskell.org/trac/ghc/ticket/1470 http://hackage.haskell.org/trac/ghc/ticket/1735 Thanks Ian __

Re: [Haskell-cafe] announce: Glome.hs raytracer

2008-03-30 Thread Ian Lynagh
On Thu, Mar 27, 2008 at 02:49:35AM +, Ian Lynagh wrote: > On Wed, Mar 26, 2008 at 02:33:20PM -0700, Jim Snow wrote: > > > > -Memory consumption is atrocious: 146 megs to render a scene that's a > > 33k ascii file. Where does it all go? A heap profile reports t

Re: [Haskell-cafe] announce: Glome.hs raytracer

2008-03-26 Thread Ian Lynagh
use seems to keep increasing, even once it has run display once and is running it a second or third time. Thanks Ian import Vec import Clr import Solid import Trace import Spd import Control.Parallel.Strategies import Data.Time.Clock.POSIX import IO get_color :: Flt -> Flt -> Scene -> Clr.C

  1   2   3   >