Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No instance for (FromJSON LambdaCube.IR.Pipeline) #3

Open
andorp opened this issue Jun 19, 2016 · 0 comments
Open

No instance for (FromJSON LambdaCube.IR.Pipeline) #3

andorp opened this issue Jun 19, 2016 · 0 comments

Comments

@andorp
Copy link

andorp commented Jun 19, 2016

Compiling Hello.hs:

[1 of 1] Compiling Main             ( Hello.hs, Hello.o )

Hello.hs:20:26:
    No instance for (FromJSON LambdaCube.IR.Pipeline)
      arising from a use of ‘decodeStrict’
    In the first argument of ‘(<$>)’, namely ‘decodeStrict’
    In a stmt of a 'do' block:
      Just pipelineDesc <- decodeStrict <$> SB.readFile "hello.json"
    In the expression:
      do { Just pipelineDesc <- decodeStrict
                                <$> SB.readFile "hello.json";
           win <- initWindow "LambdaCube 3D DSL Hello World" 640 640;
           let inputSchema = makeSchema $ ...;
           storage <- allocStorage inputSchema;
           .... }

Installed lambdacube toolset:

    lambdacube-compiler-0.6.0.0
    lambdacube-gl-0.5.0.5
    lambdacube-ir-0.4.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant