Last active
July 18, 2016 21:36
-
-
Save zkessin/e5b61e80f2d280e5496f60a8e42f0c79 to your computer and use it in GitHub Desktop.
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
cmd: { type = "leaf", home = "writeLines", value = [{ username = "alarnahope", email = "[email protected]" },{ username = "alexxis_xx", email = "[email protected]" },{ username = "bohotailor", email = "[email protected]" },{ username = "boneandfinn", email = "[email protected]" },{ username = "celebrityfashionlookbook", email = "[email protected]" },{ username = "crashingred", email = "[email protected]" },{ username = "damon_archbold", email = "[email protected]" },{ username = "designfinder", email = "[email protected]" },{ username = "emhewitt_", email = "[email protected]" },{ username = "gohandco", email = "[email protected]" },{ username = "houseofalexandra_co", email = "[email protected]" },{ username = "iamfashionshy", email = "[email protected]" },{ username = "intersectionpaddington", email = "[email protected]" },{ username = "jennifer__chong", email = "[email protected]" },{ username = "jessie_khoo", email = "[email protected]" },{ username = "michelle.chui", email = "[email protected]" },{ username = "paulsmollenphotography", email = "[email protected]" },{ username = "royceandmonroe", email = "[email protected]" },{ username = "sydneyandstreet", email = "[email protected]" },{ username = "thechicndamned", email = "[email protected]" },{ username = "thecurlybrownie", email = "[email protected]" },{ username = "thegirlswhoatetheworld", email = "[email protected]" },{ username = "thelondonerinsydney", email = "[email protected]" },{ username = "thesydneyblogger", email = "[email protected]" },{ username = "travelsofastylist", email = "[email protected]" },{ username = "union_womens", email = "[email protected]" },{ username = "via.zen", email = "[email protected]" },{ username = "vika_reounova", email = "[email protected]" },{ username = "z.effrey", email = "[email protected]" }] } |
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
type alias Email = | |
{ username : String | |
, email : String | |
} | |
export : List Email -> Cmd a | |
export emails = | |
writeLines emails | |
port writeLines : List Email -> Cmd msg |
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
TypeError: subs[i] is not a function | |
subs[i](value); | |
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
function onEffects(router, cmdList, state) | |
{ | |
while (cmdList.ctor !== '[]') | |
{ | |
var value = converter(cmdList._0); | |
for (var i = 0; i < subs.length; i++) | |
{ | |
subs[i](value); | |
} | |
cmdList = cmdList._1; | |
} | |
return init; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment