Skip to content

yusent/yusent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 

Repository files navigation

module Myself where

type Skill = String

data Profile = Profile
  { name :: String
  , mainSkills :: [Skill]
  }

instance Show Profile where
  show p = unlines
         $ ("Hi! I'm " ++ name p ++ " and my main skills are:")
         : (bulletify <$> mainSkills p)

main :: IO ()
main = print myself

myself :: Profile
myself = Profile "Yus"
  [ "Haskell"
  , "Ruby"
  , "JavaScript"
  , "Rails"
  , "React"
  , "React Native"
  ]

bulletify :: String -> String
bulletify = ('-' :) . (' ' :)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published