[Haskell-cafe] [Haskell] ANNOUNCE: Diagrams 1.0

Henning Thielemann schlepptop at henning-thielemann.de
Sat Jan 18 12:25:38 UTC 2014


Am 17.01.2014 22:57, schrieb Brent Yorgey:
> The diagrams team is very pleased to announce the 1.0 release of
> diagrams [1], a framework and embedded domain-specific language for
> declarative drawing in Haskell.

When compiling I get:

src/Diagrams/TwoD/Layout/Tree.hs:448:26:
     No instance for (Default (ForceLayoutOpts R2))
       arising from a use of `def'
     Possible fix:
       add an instance declaration for (Default (ForceLayoutOpts R2))
     In the `_forceLayoutOpts' field of a record
     In the expression:
       FLTOpts
         {_forceLayoutOpts = def, _edgeLen = sqrt 2, _springK = 0.05,
          _staticK = 0.1}
     In an equation for `def':
         def
           = FLTOpts
               {_forceLayoutOpts = def, _edgeLen = sqrt 2, _springK = 0.05,
                _staticK = 0.1}



More information about the Haskell-Cafe mailing list