Re: [elm-discuss] Firebase package - should be an effect module or native module?

2016-11-29 Thread Ed Ilyin
ive modules if there is another > option. > > On Tue, Nov 29, 2016 at 10:58 AM, Ed Ilyin wrote: > > What if I'm going to write elm-firebase package - should I write it as an > effect module or native module to have a chance to be whitelisted? > > Ed Ilyin > > -- &g

[elm-discuss] Firebase package - should be an effect module or native module?

2016-11-29 Thread Ed Ilyin
What if I'm going to write elm-firebase package - should I write it as an effect module or native module to have a chance to be whitelisted? Ed Ilyin -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this

Re: [elm-discuss] Re: Integrating Elm with Web Components / Polymer

2016-11-03 Thread Ed Ilyin
Richard, multiple Polymer elements can be styled mostly by using native CSS mixins (like https://elements.polymer-project.org/elements/paper-dropdown-menu): --paper-dropdown-menu-button A mixin that is applied to the internal menu button {} How to do that using your elm-css library? Il giorno ven

Re: [elm-discuss] Re: The Style Elements Library: a different approach to styling

2016-10-31 Thread Ed Ilyin
> > > > On Monday, October 31, 2016 at 7:55:38 AM UTC-4, Ed Ilyin wrote: > > Will it render native CSS mixin? > > Actually I can't figure out how to create native CSS mixins even using > elm-css module. > > Il giorno lun 31 ott 2016 alle ore 13:49 Matthew Gr

Re: [elm-discuss] Re: The Style Elements Library: a different approach to styling

2016-10-31 Thread Ed Ilyin
n : List (Html.Attribute a) -> List (Element a) -> Element a > dropDown = > element > ({ base > | width = px 300 > , padding = all 20 > , spacing = topBottom 40 > } > |> myMixin > |> myMixinCo

Re: [elm-discuss] Re: The Style Elements Library: a different approach to styling

2016-10-31 Thread Ed Ilyin
I'm actively using Polymer Paper Elements. And they accept mixings like this: ```css paper-dropdown-menu { --paper-input-container-input: { color: white; } --paper-input-container-underline: { display: none; } --paper-dropdown-menu-i

Re: [elm-discuss] Re: The Style Elements Library: a different approach to styling

2016-10-28 Thread Ed Ilyin
e other way. > > It is now published! > http://package.elm-lang.org/packages/mdgriffith/style-elements/latest > > > > > > On Friday, October 28, 2016 at 2:46:51 AM UTC-4, Ed Ilyin wrote: > > And, clould you please, publish it, so we can try it easly and follow > update

Re: [elm-discuss] Re: The Style Elements Library: a different approach to styling

2016-10-27 Thread Ed Ilyin
And, clould you please, publish it, so we can try it easly and follow updates. Il giorno ven 28 ott 2016 alle ore 06:54 Ed Ilyin ha scritto: > Is it possible to blend it together with Richard Feldman's work elm-css > where all properties are type checked? > > Il giorno gio 27

Re: [elm-discuss] Re: The Style Elements Library: a different approach to styling

2016-10-27 Thread Ed Ilyin
Is it possible to blend it together with Richard Feldman's work elm-css where all properties are type checked? Il giorno gio 27 ott 2016 alle ore 23:54 Matthew Griffith < mdg.griff...@gmail.com> ha scritto: > Thanks! Feedback would be fantastic. > > Yes, the compiler should help quite a bit here

Re: [elm-discuss] Structure for large Elm apps

2016-10-21 Thread Ed Ilyin
Can you, please, provide an example? When I do a component (like one page of my SPA), I dedicate a module for it. So, how can look a flat structure? Just Shared.elm, Main.elm, Update.elm and View.elm? Il giorno ven 21 ott 2016 alle ore 20:22 Wouter In t Velt < wouter.intv...@gmail.com> ha scritto:

Re: [elm-discuss] JSComp with elm

2016-10-20 Thread Ed Ilyin
On this site all Elm examples are not pure Elm examples, they use react modules: - elm (^0.17.1) - react (^15.3.1) - react-dom (^15.3.1) - react-elm-components

[elm-discuss] #PolymerSummit

2016-10-17 Thread Ed Ilyin
Anybody at the #PolymerSummit in London? Maybe let's discuss Elm with Web components? -- 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 elm-discuss+unsubscr...@go

[elm-discuss] How to interpret missing fields as Nothing in ports?

2016-10-06 Thread Ed Ilyin
Hi, When you send record with Maybe fields to a port - Nothing values are converted to nulls. When you send json with null properties to firebase - firebase removes such properties (by design) When you try to receive record from port - how to force Elm to interpret missing fields as Nothing? I

Re: [elm-discuss] Re: Integrating Elm with Web Components / Polymer

2016-10-05 Thread Ed Ilyin
Pushed elm-polymer-double-event-issue example also as a gist: https://gist.github.com/edvail/3a495d6b7c71df2a335a5373bc494190 Why double events? Il giorno mer 5 ott 2016 alle ore 22:44 Ed Ilyin ha scritto: > I have created very tiny example of how to use polymer element in Elm: >

Re: [elm-discuss] Re: Integrating Elm with Web Components / Polymer

2016-10-05 Thread Ed Ilyin
I have created very tiny example of how to use polymer element in Elm: https://github.com/edvail/double-event-issue But, dear, why events are duplicated? Each typed character fires two identical events. Il giorno mer 5 ott 2016 alle ore 18:18 Peter Damoc ha scritto: > I have no idea what is hap

Re: [elm-discuss] Re: Which text editor do you prefer for Elm?

2016-10-04 Thread Ed Ilyin
BTW, vscode is now gaining popularity (even among Google employees) for its consistent look, speed and nice git and shell integration. It is based on Monaco-editor. Elm plug in: https://github.com/sbrink/vscode-elm I have used sublime, vim, emacs, spacemacs, atom+proton and now Elming on vscode. в

[elm-discuss] Making Impossible States Impossible

2016-09-30 Thread Ed Ilyin
I have watched a great talk "Making Impossible States Impossible" by Richard Feldman. But I can't figure out how to make impossible wrong modes of pages. Stright forward approach looks like following: ```elm type ListView = ListView type DetailsView = DetailsView type PolymerElement = PolymerEl