Last active
November 18, 2016 11:48
-
-
Save msp/4b74694913e2d4141ca6e03b9c001154 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
ChangeStreamName uuid newName -> | |
let | |
select existingStream = | |
if existingStream.uuid == uuid then | |
{ existingStream | name = newName } | |
else | |
existingStream | |
in | |
-- Debug.log ("newName: " ++ newName ++ " uuid: " ++ uuid) | |
((List.map select streams), Cmd.none) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment