Skip to content

Instantly share code, notes, and snippets.

@hhefesto
Last active April 9, 2019 01:28
Show Gist options
  • Select an option

  • Save hhefesto/c6a54e934dddc271d2521f6830f3f454 to your computer and use it in GitHub Desktop.

Select an option

Save hhefesto/c6a54e934dddc271d2521f6830f3f454 to your computer and use it in GitHub Desktop.
-- {-# 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