Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- percorre :: Int -> RTree a -> Maybe [a]
- percorre _ (R a []) = Nothing
- percorre list (R a subNode) = if (maximum list < length (subNode)) then Just (map((subNode)!!(list-1))) else Nothing
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement