RE: crash caused by generic visitor (?)

2011-06-09 Thread Simon Peyton-Jones
| -Original Message- | From: glasgow-haskell-users-boun...@haskell.org [mailto:glasgow-haskell-users- | boun...@haskell.org] On Behalf Of Ranjit Jhala | Sent: 14 May 2011 17:52 | To: ghc-users | Subject: Re: crash caused by generic visitor (?) | | Hi all, | | my apologies. Looks like the issue

Re: crash caused by generic visitor (?)

2011-05-14 Thread Ranjit Jhala
Hi all, my apologies. Looks like the issue (and a fix!) is described here http://mistuke.wordpress.com/category/vsx/ Thanks, Ranjit. On May 13, 2011, at 4:34 PM, Ranjit Jhala wrote: Hi all, I'm trying to extract the set of identifiers that are read in given source file. To this

crash caused by generic visitor (?)

2011-05-13 Thread Ranjit Jhala
Hi all, I'm trying to extract the set of identifiers that are read in given source file. To this end, I wrote the following code (full source at end.) main = do fname - (!! 0) `fmap` getArgs tcm -