Interesting... it's like it's own module. I feel like there are a lot of
little things like this that aren't covered in any of the getting started
guides.
On Wed, May 18, 2016 at 1:05 PM, Peter Damoc wrote:
> It means that it exports both the type Dispatch and the tag Remove.
In principle it’s correct. The type needs to be a bit different (comparable
instead of a). Moreover, it will still not work reliably if you call it
with something where the b type is itself a type that does not have
reliable ==. For example, if you call that dictEquals on a Dict Int (Set
Int), you
This is awesome!
I've updated the Dash docset to honor your release.
I can now report that there are some 106 packages that have already made
the transition to 0.17 :)
On Wed, May 18, 2016 at 12:21 AM, Matthew Griffith
wrote:
>
> Hi All,
>
> I just released a fairly
Sounds very promising. Could you please provide minimalist example?
On Wednesday, 18 May 2016 13:47:16 UTC+1, Peter Damoc wrote:
>
> You just use regular Elm Architecture and compose the model of the
> autocomplete into the proper place, same with update and view.
>
> To speak in React
Oh, that's much easier:
import Html exposing (..)
import Html.Attributes exposing (class)
helloComponent name =
p [] [text ("Hello, " ++ name ++ "!")]
sayHello =
helloComponent "world"
listHello names =
div [] (List.map helloComponent names)
-- GENERIC WRAPPING COMPONENT
Oh, it looks just nesting views (I'm not familiar with ClojureScript
though). If so, the solution is much simpler. Like this:
```
container : List (Html msg) -> Html msg
container children =
div
[ style [ ("padding", "20px") ] ]
children
```
full version
Here is a sketch of how it would look like in reagent (ClojureScript)
; -- SOME CONCRETE COMPONENTS
; a component taking a String as a model
(defn hello-component [name]
[:p "Hello, " name "!"])
; a stateless component using another component
(defn say-hello []
[hello-component
The mario example in 0.17
https://gist.github.com/pdamoc/6f7aa2d3774e5af58ebeba369637c228
On Thursday, May 12, 2016 at 12:59:13 AM UTC-7, Sean Seefried wrote:
>
> Hi all,
>
> I just started using Elm about 2 weeks ago. I had a lot of fun playing
> with the Pong example and even started making
Can you mock some code that would show how would you like to use this?
Imagine that it is already implemented in some library and write against
that imaginary library.
On Tue, May 17, 2016 at 5:36 PM, Daniel Kwiecinski <
daniel.kwiecin...@gmail.com> wrote:
> The problem is that the generic