On Thu, 2013-06-20 at 18:13 +0300, Roman Cheplyaka wrote:
Namely, it can do the following:
* for a module, compute its interface, i.e. the set of entities
exported by the module, together with their original names.
* for each name in the module, figure out what it refers to —
Roman: Awesome! I'm really glad that this is ready for use!
Andrew: I have a tool that's a step towards doing this. Instead of using
haskell suite, it uses ghci via hint to query module exports, and then uses
TH to reify them. This has the benefit of supporting everything that GHC
supports,
I have a feeling the work-in-progress Haskell Refactorer using the GHC API
may be able to provide this information through its library interface.
When I have some time over the weekend I will have a look.
Alan
On Fri, Jun 21, 2013 at 8:44 AM, Michael Sloan mgsl...@gmail.com wrote:
Roman:
data ActionData = AD { oldData :: (FromJSON j, ToJSON j) = j
, newData :: (FromJSON j, ToJSON j) = j}
instance ToJSON ActionData where
toJSON (AD o n) = object [ oldData .= o
, newData .= n ]
instance FromJSON ActionData where
parseJSON
* Andrew Cowie and...@operationaldynamics.com [2013-06-21 16:12:55+1000]
On Thu, 2013-06-20 at 18:13 +0300, Roman Cheplyaka wrote:
Namely, it can do the following:
* for a module, compute its interface, i.e. the set of entities
exported by the module, together with their original
Forgot to reply all, as usual.
Пересылаемое сообщение
21.06.2013, 12:52, Miguel Mitrofanov miguelim...@yandex.ru:
Actually, this is not the real error you should care about. Try removing
FromJSON instance completely, and you'll get a lot more. And these are
fundamental: you
John Wiegley jo...@fpcomplete.com writes:
Since mid-January, I’ve been running nightly builds of GHC on my Mac Pro for
10.8.x, 64-bit. I’ve decided to make these results publically downloadable
here:
http://ghc.newartisans.com.
Just a note: I'm now including builds and logs for Ubuntu
Is there a reason why you can't use an explicit type variable?
{-# LANGUAGE OverloadedStrings, ExistentialQuantification #-}
import Data.Aeson
import Control.Applicative
import Control.Monad (mzero)
data ActionData j
= (FromJSON j, ToJSON j) = AD j j
instance ToJSON (ActionData j) where
I compiled some code with GHC 7.6.3 that produces a simple error at runtime
myProgramName: loop
At which point the program exits with code 1.
Is there documentation for this error anywhere? Does it mean I have some
infinite loop in my code somewhere? If so, does GHC catch all infinite
loops? I
On Sat, Jun 22, 2013 at 12:41 AM, Omari Norman om...@smileystation.com wrote:
I compiled some code with GHC 7.6.3 that produces a simple error at runtime
myProgramName: loop
At which point the program exits with code 1.
Is there documentation for this error anywhere? Does it mean I have
This looks interesting. I'll be following the development of it
On Jun 20, 2013, at 2:56 PM, Alberto G. Corona agocor...@gmail.com wrote:
Here is the example with better rendering and additional information as well
as some identifies issues to be solved.
11 matches
Mail list logo