Giter Site home page Giter Site logo

curves's People

Contributors

ulfnorell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

hardentoo

curves's Issues

Non-exhaustive pattern match in argsN when parsing SVG path

"fish.path" is found here.

GHCi, version 7.6.3: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Prelude> import Graphics.Curves.SVG.Path
Prelude Graphics.Curves.SVG.Path> s <- readFile "fish.path"
Prelude Graphics.Curves.SVG.Path> parsePath s
Loading package old-locale-1.0.0.5 ... linking ... done.
Loading package pretty-1.1.1.0 ... linking ... done.
Loading package array-0.4.0.1 ... linking ... done.
Loading package deepseq-1.3.0.1 ... linking ... done.
Loading package time-1.4.0.1 ... linking ... done.
Loading package containers-0.5.0.0 ... linking ... done.
Loading package bytestring-0.10.0.2 ... linking ... done.
Loading package binary-0.5.1.1 ... linking ... done.
Loading package filepath-1.3.0.1 ... linking ... done.
Loading package unix-2.6.0.1 ... linking ... done.
Loading package directory-1.2.0.1 ... linking ... done.
Loading package text-1.2.0.3 ... linking ... done.
Loading package polyparse-1.10 ... linking ... done.
Loading package random-1.1 ... linking ... done.
Loading package HaXml-1.25 ... linking ... done.
Loading package transformers-0.4.2.0 ... linking ... done.
Loading package mtl-2.2.1 ... linking ... done.
Loading package primitive-0.5.4.0 ... linking ... done.
Loading package vector-0.10.12.2 ... linking ... done.
Loading package zlib-0.5.4.2 ... linking ... done.
Loading package JuicyPixels-3.1.7.1 ... linking ... done.
Loading package template-haskell ... linking ... done.
Loading package tf-random-0.5 ... linking ... done.
Loading package QuickCheck-2.7.6 ... linking ... done.
Loading package curves-1.1.0.1 ... linking ... done.
[MoveTo Absolute (-4.2207441 256.03034),BezierTo Absolute [(-28.145511 234.64868),(-48.352478 216.63385),(-64.254835 194.25807)],BezierTo Relative [(0.0 -0.98162),(1.409231 -4.58443),(3.131624 -8.00625)],BezierTo Relative [(9.780189 -19.42994),(18.510553 -32.02794),(40.347284 -58.22148)],LineTo Relative (11.6713579 -14.0),LineTo Relative (-0.5810892 -5.95367),BezierTo Absolute [(-12.866405 70.238313),(-11.000232 42.188243),(-1.6245701 6.280326)],BezierTo Absolute [(-0.44826504 -4.552565),(2.1569119 1.0296139),(16.04983 11.409158)],BezierTo Absolute [(31.80326 24.108892),(46.438782 31.394353),(61.228466 55.314218)],LineTo Relative (18.47934 0.80424),BezierTo Relative [(21.018664 0.914754),(29.546174 2.279685),(41.537354 6.120755)],LineTo Relative (9.0 2.88293),BezierTo Relative [(9.45e-2 11.792891),(0.18906 23.585782),(0.28359 35.378677)],BezierTo Relative [(8.14e-2 10.15961),(0.16287 20.31922),(0.24431 30.47883)],BezierTo Relative [(-10.50136 10.51677),(-21.58698 23.07846),(-32.08834 33.59523)],BezierTo Relative [(14.06059 22.8839),(52.10904 35.64861),(85.22757 39.00203)],LineTo Relative (13.66713 1.22844),LineTo Relative (9.56869 11.23743),BezierTo Relative [(10.78341 12.66401),(17.40255 18.3707),(36.09705 31.12106)],LineTo Relative (13.0 8.8665),BezierTo Relative [(1.33842 0.7382),(8.30977 4.88574),(-1.5 3.88201)],LineTo Relative (-19.25 -3.68746),BezierTo Relative [(-26.32015 -5.0418),(-38.48678 -6.65619),(-50.25 -6.66768)],BezierTo Relative [(-9.38398 -9.0e-3),(-27.96557 1.23366),(-37.02773 2.47659)],BezierTo Relative [(-3.87372 0.5313),(-4.40901 0.2337),(-14.0 -7.78357)],BezierTo Relative [(-29.85673 -24.95774),(-39.871065 -32.158),(-58.505535 -42.06515)],LineTo Relative (-10.53326 -5.60009),BezierTo Relative [(-20.811164 20.81902),(-41.622317 41.63804),(-62.4334701 62.45707)],BezierTo Relative [(-2.21316496 3.12868),(-6.965909 -3.01172),(-6.965909 -3.01172)],ClosePath,MoveTo Absolute (61.803945 194.95944),BezierTo Absolute [(50.531083 188.98956),(40.40126 183.25734),(27.305528 175.34765)],LineTo Relative (-6.754753 6.47832),BezierTo Relative [(-3.536929 3.39218),(-10.53586 8.30385),(-14.4839431 12.21821)],BezierTo Relative [(-6.31395894 6.26003),(-7.939397 8.70463),(-13.498717 20.30159)],BezierTo Relative [(-5.7692039 12.03478),(-8.8304989 16.00434),(-8.8182649 11.43457)],BezierTo Relative [(8.0e-3 -3.00548),(11.4878289 -25.49609),(15.74548296 -30.84775)],BezierTo Absolute [(1.7259409 192.12882),(8.372517 186.3979),(14.097255 181.97548)],LineTo Relative (10.741024 -8.29756),BezierTo Relative [(-4.207436 -3.82316),(-8.004154 -7.27638),(-11.339194 -10.98081)],BezierTo Relative [(-1.24991 -0.5529),(-17.0361021 12.2674),(-22.5955641 18.35034)],BezierTo Relative [(-2.8578029 3.12689),(-8.6443609 11.26473),(-12.8590179 18.08407)],BezierTo Relative [(-7.041702 11.39353),(-10.299338 14.82367),(-10.299338 10.84471)],BezierTo Relative [(0.0 -2.03202),(11.995257 -21.24309),(18.142644 -29.05646)],BezierTo Relative [(2.644213 -3.36081),(8.4833679 -8.98581),(12.9758999 -12.5)],BezierTo Relative [(4.492532 -3.51418),(11.4432581 -8.3652),(12.5847181 -9.26519)],BezierTo Absolute [(1.4377364 142.53161),(-1.7064185 131.95557),(-7.8508061 118.29212)],LineTo Relative (-14.0058249 17.06987),BezierTo Relative [(-18.407479 22.43447),(-23.802822 30.06405),(-32.294897 45.66835)],LineTo Relative (-7.074778 13.0),BezierTo Relative [(5.999036 4.93102),(41.372597 48.14728),(61.97156998 61.5)],BezierTo Absolute [(22.561403 234.48013),(38.760552 218.01213),(61.803945 194.95944)],ClosePath,MoveTo Absolute (-7.2548351 242.51953),BezierTo Absolute [(3.2541256 226.12534),(26.190195 194.2622),(40.413595 185.53034)],BezierTo Relative [(-9.194645 15.38335),(-30.067556 33.10097),(-41.24502108 52.79312)],BezierTo Relative [(-1.78332402 3.17503),(-3.60588202 5.20524),(-4.67340902 5.20586)]*** Exception: Graphics/Curves/SVG/Path.hs:(94,9)-(102,33): Non-exhaustive patterns in function argsN

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.