... <看更多>
Search
Search
... <看更多>
... <看更多>
... <看更多>
... <看更多>
This design by Valerie Vann, and folded by YouTuber German Fernandez, is great for Valentine's Day or any other day where a paper puzzle rose is needed. ... <看更多>
I think this is pretty easy with comprehensions: foldRose f z (Node x []) = [f x z] foldRose f z (Node x ns) = [f x y | n <- ns, ... ... <看更多>
The Rose Fold Napkin: How To: The easiest way to make a rose out of a napkin is to fold the napkin in half diagonally, then roll the folded ... ... <看更多>
The implementation isn't correct, because it doesn't traverse sub-trees. Consider Node 1 [Node 2 [Node 3 []]]. Then your folding function will only fold ... ... <看更多>