On Thursday, May 11, 2017 at 7:00:06 PM UTC+1, Ian Mackenzie wrote:
>
> I also cloned OpenSolid/svg and made a version that renders to 
>> elm-community/typed-svg. Once I have finished converting the docs, tests 
>> and examples you might like to clone it back again and publish it under 
>> OpenSolid/typed-svg? I'll let you know once I get to that stage anyway.
>>
>
> I confess I'm still not sure exactly why a separate typed-svg version is 
> necessary...since the TypedSvg.Core.Svg and TypedSvg.Core.Attribute are 
> still just aliases for VirtualDom.Node and VirtualDom.Property 
> respectively (instead of being new opaque types or something), you can 
> already mix typed-svg and opensolid/svg elements/attributes freely 
> without any kind of conversion or anything - see 
> https://ellie-app.com/39pwNnwDzcqa1/2 for an example.
>

Thanks for pointing that out. I swapped my code over to opensolid/svg  and 
it all compiled and runs fine. In which case, perhaps the thing to do might 
be for me to create a little pull request adding a statement and short 
example to the docs for opensolid/svg to explain that it also works with 
typed-svg.

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to