Re: Type checking expressions

2018-03-05 Thread Robin Palotai
I wondered if https://downloads.haskell.org/~ghc/7.8.1/docs/html/users_guide/defer-type-errors.html could help. I tried to click around in the GHC 8.2 tree of http://stuff.codereview.me/ghc/#ghc/compiler/typecheck/TcErrors.hs?corpus=ghc-8.2.1-rc2=120, but it seems deferring type errors just

Re: Extracting representation from GHC

2018-01-19 Thread Robin Palotai
(FFI invoked from TemplateHaskell in certain ways, for examples) that will fail. 2018-01-19 19:46 GMT+01:00 Robin Palotai <palotai.ro...@gmail.com>: > See some additions inline. > BR > Robin > > 2018-01-19 18:27 GMT+01:00 Simon Peyton Jones via ghc-devs < > ghc-devs@

Re: Extracting representation from GHC

2018-01-19 Thread Robin Palotai
See some additions inline. BR Robin 2018-01-19 18:27 GMT+01:00 Simon Peyton Jones via ghc-devs < ghc-devs@haskell.org>: > | To do this, my idea is to instruct GHC with a compilation flag to give > | out its internal representation of the source code. > > Why can't you just use GHC as a

Re: Determine instance method from class method callsite

2017-10-05 Thread Robin Palotai
nt. maybe others can help? > > > > Simon > > > > *From:* Robin Palotai [mailto:palotai.ro...@gmail.com] > *Sent:* 05 October 2017 11:17 > *To:* Simon Peyton Jones <simo...@microsoft.com> > *Cc:* GHC developers <ghc-devs@haskell.org>; haskell < > has

Re: Determine instance method from class method callsite

2017-10-05 Thread Robin Palotai
h `HsWrapper` in TcEvidence. > > > > Does that help? > > > > It would be great to augment the https://ghc.haskell.org/trac/ > ghc/wiki/Commentary with this sort of info (insofar as it doesn’t have it > already). If you augment I can review. Email is quickly lost. > &

Re: Determine instance method from class method callsite

2017-09-21 Thread Robin Palotai
GMT+02:00 Robin Palotai <palotai.ro...@gmail.com>: > Sorry, I messed up subject and mailing list. Copying to both list now > after the mistake (wanted only ghc-devs for specificity). > > Thanks! > > 2017-09-19 7:36 GMT+02:00 Robin Palotai <palotai.ro...@gmail.com>: >

Determine instance method from class method callsite

2017-09-18 Thread Robin Palotai
Sorry, I messed up subject and mailing list. Copying to both list now after the mistake (wanted only ghc-devs for specificity). Thanks! 2017-09-19 7:36 GMT+02:00 Robin Palotai <palotai.ro...@gmail.com>: > Hello GHC devs, > > Before inventing the wheel, want to check if there i

Re: ANN: Overlay Hackage Package Index for GHC HEAD

2017-09-18 Thread Robin Palotai
Sounds amazing - could you add the procedure you described to the "stock" multi-GHC Travis example [1]? It already has a "HEAD" env (see "env: BUILD=cabal GHCVER=head"...), but breaks [2] due to the package problems you mentioned. [1]:

Re: Crossreferenced GHC 8.0.2

2017-08-20 Thread Robin Palotai
s to but Robin said he would when > he got the chance. > > Matt > > > On Tue, Jul 4, 2017 at 6:44 AM, Robin Palotai <palotai.ro...@gmail.com> > wrote: > > FYI I added GHC 8.2.1-rc2 source to the index. Please tell if some source > > you would be interested in i

Re: Compilation time

2017-07-04 Thread Robin Palotai
Note that Travis CI time is a sum of all operations, including fetching/saving caches etc. Opening the build log and looking for the compilation might be more revealing. For example, 7.10 seems ~10 seconds, 8.2.1 seems ~50 seconds. There are two issues I can see with this, that should be

Re: Crossreferenced GHC 8.0.2

2017-07-03 Thread Robin Palotai
FYI I added GHC 8.2.1-rc2 source to the index. Please tell if some source you would be interested in is obviously missing. Thanks! 2017-06-30 22:41 GMT+02:00 Robin Palotai <palotai.ro...@gmail.com>: > Hello Matthew, > > Please see inline > > 2017-06-30 11:57 GMT+02

Re: Crossreferenced GHC 8.0.2

2017-06-30 Thread Robin Palotai
ffsets, and it's the Kythe postprocessing / serving pipeline that does all the formatting. > Cheers, > > Matt > > On Fri, Jun 30, 2017 at 8:55 AM, Robin Palotai <palotai.ro...@gmail.com> > wrote: > > Hello GHC devs, > > > > I ran haskell-indexer [1] on

Crossreferenced GHC 8.0.2

2017-06-30 Thread Robin Palotai
Hello GHC devs, I ran haskell-indexer [1] on the GHC 8.0.2 tarball, partly because I find myself reading GHC source from time to time while working on the indexer, and partly since it's fun. First, here you can click around [2] and find where beloved functions are called from: