Skip to content

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

Open
@andorp

Description

@andorp

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions