Re: [elm-discuss] How to check if all Maybes are specified and use values directly (without using "withDefault")

2016-08-03 Thread Austin Baltes
Hi Janis, thank you for sharing that library. I wasn't familiar with it and it exposes some useful functionality -- I'll definitely keep in mind! On Wednesday, August 3, 2016 at 9:25:14 PM UTC-7, Janis Voigtländer wrote: > > Another possible take on your example: > > forecastProtected : Maybe

[elm-discuss] Dot notation for default value fails on compilation

2016-07-30 Thread Austin Baltes
Hi, I'm working on building a scatterPlot module for one of my Elm projects. This works (assigning Sp.defaultProps into defaultProps) import ScatterPlot as Sp defaultProps = Sp.defaultProps init : (Model, Cmd Msg) init = ( Model { defaultProps | series = [ { x = 0, y =