Created
January 10, 2020 20:39
-
-
Save MarcelineVQ/5891e5417c997bf531fee225433889bc to your computer and use it in GitHub Desktop.
This file contains hidden or 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
emptyOnsenM : OnsenM () | |
namespace AttribElem { | |
elem : String -> List Char -> OnsenM a -> OnsenM a | |
} | |
namespace Elem { | |
elem : String -> OnsenM a -> OnsenM a | |
} | |
-- ^ above is solely to avoid writing [] | |
-- example : | |
somepage : OnsenM () -- we don't need [] for the below elem | |
somepage = elem "page" ['a','b','c'] (elem "row" (elem "col" emptyOnsenM)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment