Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- paGetByName :: Nome -> ListaPontoAcesso -> PontoAcesso
- paGetByName _ [PontoAcesso_Empty] = PontoAcesso_Empty
- paGetByName n (h@(PAcesso id nome _ _ _ _):t) | n == nome = h
- | otherwise = (paGetByName n t)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement