Skip to content

Functional Programming example that uses IO and file operations, compositions, function applications, higher order functions, list comprehensions and currying.

Notifications You must be signed in to change notification settings

sinemelifhaseki/functional-programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 

Repository files navigation

Functional Programming - Chunin Ninja Selection Exam

This source code was written as the term project of Functional Programming course @ Istanbul Technical University in 2020.

Given a .txt file with Ninjas, their countries, exam scores and abilities, the program aims to find out how the fights amongst ninjas end up, who gets the point and which Ninja gets to be the champion and selected.

This program uses Functional Programming approaches i.e. compositions, function applications, higher order functions, list comprehensions and currying to carry out all the operations and terminate.

Creating executable

ghc cse.hs -o cse

Execution

./cse csereport.txt.

About

Functional Programming example that uses IO and file operations, compositions, function applications, higher order functions, list comprehensions and currying.

Topics

Resources

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •