Last active
April 9, 2019 01:28
-
-
Save hhefesto/c6a54e934dddc271d2521f6830f3f454 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
| -- {-# LANGUAGE DeriveDataTypeable #-} | |
| -- {-# LANGUAGE FlexibleContexts #-} | |
| -- {-# LANGUAGE GADTs #-} | |
| -- {-# LANGUAGE GeneralizedNewtypeDeriving #-} | |
| -- {-# LANGUAGE MultiParamTypeClasses #-} | |
| -- {-# LANGUAGE OverloadedStrings #-} | |
| -- {-# LANGUAGE QuasiQuotes #-} | |
| -- {-# LANGUAGE TemplateHaskell #-} | |
| -- {-# LANGUAGE TypeFamilies #-} | |
| -- {-# LANGUAGE ScopedTypeVariables #-} | |
| module Alice where | |
| -- Ejercicio Fibonacci: 0 1 2 3 5 8 13 21 | |
| -- Type Signatures & Function Definition | |
| -- IO () | |
| -- undefined | |
| -- Guards | |
| -- list comprehension | |
| -- mapping | |
| -- do notation | |
| main :: IO () | |
| main = putStrLn "¡Hola, mundo!" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment