Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

benefits of matching in functional programming

if canRunOperationOn someData
then putStrLn ("The operation was successful: " ++ doRunOperationOn someData)
else putStrLn "The operation failed!"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #benefits #matching #functional #programming
ADD COMMENT
Topic
Name
3+4 =