DEV Community

Discussion on: Maybe. Functional programming in Javascript with React.

Collapse
 
simonam profile image
SimonAM

I dont know my way around monads yet. Can someone explain to me why sizes are wrapped into a Maybe before using get in 'hasSizes'? Seems redundant to me as get should already put it into a Maybe?