Difference between revisions of "User:Lenny222"

From HaskellWiki
Jump to navigation Jump to search
Line 15: Line 15:
   
 
==== Todo ====
 
==== Todo ====
* Object
 
** data Object = forall a. ObjectLike a => Object a
 
** primitive :: a -> Primitive => shapes :: a -> [Object]
 
 
 
* test, if pattern matching to e.g. Shape works in Svg export
 
* test, if pattern matching to e.g. Shape works in Svg export
 
** Shape => Ellipse, Rectangle, etc :: Object
 
** Shape => Ellipse, Rectangle, etc :: Object

Revision as of 15:31, 15 December 2009

Things i think need improvement

Chlor

Todo

  • test, if pattern matching to e.g. Shape works in Svg export
    • Shape => Ellipse, Rectangle, etc :: Object
    • SvgPath
      • <path d="M 100 100 L 300 100 L 200 300 z" fill="red" stroke="blue" stroke-width="3" />
    • SvgRectangle
      • <rect x="400" y="100" width="400" height="200" fill="yellow" stroke="navy" stroke-width="10" />
  • HStringTemplate?
  • Shape
    • Sine (Box, phases)
    • Spiral
    • Star
  • Diagram
    • Pie (only for displaying fractions)
  • Layout
    • Instances
      • Column
      • Grid (cols, rows, margins)
      • Margin/Frame
        • content size (absolute, relative, remaining)
        • margin sizes (absolute, relative, remaining)
  • use HLint
  • AffineTransformation
  • Path
    • approximate :: [Vector2D] -> [Segment]
  • Vector
    • createVectors :: [Double] -> [Vector2d]

Ideas

  • layout
    • Table
    • SpaceHorizontal
    • SpaceVertical

Simplified Haskell homepage

A simplified Haskell frontpage

Why?