Re: [elm-discuss] Re: ANN: TypedSvg

2017-03-31 Thread Duane Johnson
Thanks for the kind words everyone. Yes, please send pull requests to the main repo and I will integrate them. The short term goal is to make a typed SVG library (as mentioned earlier, fully typed and documented). Medium-term, I'd like to adopt some sensible module partitions that help segregate

[elm-discuss] Re: ANN: TypedSvg

2017-03-31 Thread Nicholas Hollon
This is awesome! Something I've wished for since about 5 minutes after I started learning elm-svg. Will definitely be adopting it for future projects... possibly sending some pull requests along the way. :-) On Thursday, March 30, 2017 at 8:35:32 AM UTC-7, Duane Johnson wrote: > > Hi all, >

[elm-discuss] Elm Bootstrap v2.0.0

2017-03-31 Thread Magnus Rundberget
Hi All, I have already posted on slack and reddit, but just in case some people have missed it... Yesterday I released elm-bootstrap version 2.0.0. Elm Bootstrap is an Elm package for working with the upcoming Twitter Bootstrap 4 CSS framework in a fairly

[elm-discuss] Re: ANN: TypedSvg

2017-03-31 Thread Magnus Rundberget
Nice ! -magnus On Thursday, 30 March 2017 17:35:32 UTC+2, Duane Johnson wrote: > > Hi all, > > I've been working on a TypedSvg package here: > > http://package.elm-lang.org/packages/canadaduane/typed-svg/2.0.1 > > Its intent is to replace `elm-lang/svg` with a fully typed and documented > SVG

[elm-discuss] Re: ANN: TypedSvg

2017-03-31 Thread Rex van der Spuy
> Duane, I've been waiting for something like this for a while. Thanks for > undertaking the tedium of translating the entire SVG spec and giving it a > nice, typed interface. Will take a closer look when I get a chance. > Yeah, it's really great, thanks! -- You received this message

Re: [elm-discuss] ANN: TypedSvg

2017-03-31 Thread Eelco Hoekema
On Thu, Mar 30, 2017 at 5:35 PM, Duane Johnson wrote: > Hi all, > > I've been working on a TypedSvg package here: > > http://package.elm-lang.org/packages/canadaduane/typed-svg/2.0.1 > > Its intent is to replace `elm-lang/svg` with a fully typed and documented > SVG

[elm-discuss] Re: ANN: TypedSvg

2017-03-31 Thread Noah Gordon
elm-lang/svg does not provide any strong typing for its functions; it's a direct exposure of SVG's API, and all of its functions take strings as arguments. An incorrectly-formatted string will not break your application but will fail to render as you might expect. It looks like this library is

[elm-discuss] Re: Better syntax for nested pattern matching (destructuring)?

2017-03-31 Thread Ossi Hanhinen
One thing that helps in some of these cases, and not many people seem to know, is that you can match "several levels" at once, like so: type Top = Some | Other (Maybe Int) -- and then match with case value of Other (Just n) -> doStuffwith n Other Nothing ->

[elm-discuss] How to see which file is slowing compilation?

2017-03-31 Thread Simon
Hi, I read recently that `case (x,y,z) of ` is going to slow compilation. perhaps other things do too. I see my compilation times slowly creeping upwards (1 LOC) and thought about trying to tackle issues. But other than `case` I don't know what else to look at and - more importantly - I

[elm-discuss] Re: ANN: TypedSvg

2017-03-31 Thread 'Rupert Smith' via Elm Discuss
On Thursday, March 30, 2017 at 4:35:32 PM UTC+1, Duane Johnson wrote: > > Hi all, > > I've been working on a TypedSvg package here: > > http://package.elm-lang.org/packages/canadaduane/typed-svg/2.0.1 > > Its intent is to replace `elm-lang/svg` with a fully typed and documented > SVG package.