Stephen Cremin

Results 12 comments of Stephen Cremin

Just want to add that I appreciate the increased activity on this repository and the recent series of Twitch videos. I do have the Grandstack book but hadn't been paying...

The `onPageChange` access would be important to me. My film festival [website](https://www.nyaff.org) is built as an Elm SPA with Airtable as a backend. It's hosted on Netlify. As part of...

Thanks. I'll give it a try and reach out on Slack if I have any issues. I agree that `elm-pages` would be a good fit for film festivals, especially as...

The following works, so perhaps it's only an issue with the shorthand form when using ` x + 1 end

The benefit of a `norm_contrib` (yeah, needs a better name) is going to come from having custom generators for common patterns. An example "plugin" for membership specs and generators: ```elixir...

I was playing around with a more natural behavior for a plugin: ```elixir defmodule Membership do # @behaviour NormPlugin use Norm def spec(members), do: Norm.spec(&(&1 in members)) def gen(members) do...

I like your code. But I'm not sure how to use `conform` or contracts without sending the list of members each time. An imperfect solution, if only because of the...

And example code for a schema with the same behavior/interface: ```elixir defmodule Todo do use Norm defstruct [:what, :when, :who] def s(), do: schema(%{ what: spec(is_binary() and (&(String.length(&1) in 1..20))),...

And for nested schemas: ```elixir defmodule Todo do use Norm defstruct [:what, :when, :who] def s(), do: schema(%{ what: spec(is_binary() and (&(String.length(&1) in 1..20))), when: Days.s(), who: coll_of(Person.s()) }) def...

And just to prove (to myself) that it (and Norm) works with algebraic data types with [Algae](https://hexdocs.pm/algae/readme.html): ```elixir defmodule Todo do use Norm defstruct [:what, :when, :who] def s(), do:...