- Elm-lang.org blog
- The Road to Elm (@lambdacat / @doppioslash)
- [Elm Architecture Tutorial] (https://github.com/evancz/elm-architecture-tutorial/)
- [NoRedInk blog] (http://tech.noredink.com/post/140646140878/data-structures-in-elm)
- http://danielbachler.de/
- https://blog.codecentric.de/en/2015/11/elm-friday-table-of-contents/
- https://learnxinyminutes.com/docs/elm/
- https://github.com/elm-guides/elm-for-js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If you need to simply test an HTML string for content, | |
# but don't want (or have) an entire Capybara session to | |
# render it, Capybara gives you a way to wrap the HTML in | |
# a Capybara::Node::Simple object with the Capybara.string | |
# class method. With a little Ruby sprinkled on top, you | |
# can have a lightweight PageObject pattern for your tests | |
module Pages | |
class Base < DelegateClass(Capybara::Node::Simple) | |
include RSpec::Matchers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.modal_content | |
- if @book.on_hold? | |
- # No action needed, user will be notified on availability | |
- else | |
- if @book.available_here? | |
- # Allow user to check it out | |
- else | |
- # Allow user to pick a different location to check out from |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Graphics.Collage exposing (..) | |
import Graphics.Element exposing (..) | |
import Graphics.Input exposing (..) | |
import Signal exposing (..) | |
import Color exposing (..) | |
checkRed : Signal.Mailbox Bool | |
checkRed = Signal.mailbox False | |
checkBlue : Signal.Mailbox Bool | |
checkBlue = Signal.mailbox False |
-
Method on Hash that yields each key-value pair to the given block
-
Method in Enumerable that takes an object, then iterates each element in the collection, returning the object
-
Method in Enumerable that repeats a block a given number of times or forever if given nothing or nil
-
Method in Enumerable that separates an array in two based on the truth value of the given block
-
Method on Array that returns a new, shuffled array