Skip to content

Dependent typed railway stations — a project for the Advanced Functional Programming course at MIMUW.

License

Notifications You must be signed in to change notification settings

paramaciej/zazulak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zazulak

Railway stations with semaphores and traversal routes modelled with dependent types in Haskell. A project for the Advanced Functional Programming course at MIMUW.

Stations schemas and traversal routes (de: Fahrstraße/pl: droga przebiegu) are constructed at compilation time. Dependent types forces correct construction of this entities.

In runtime there is simple interface showing station in a schematic way and possibility to switch turnouts and activate/deactivate traversal routes.

Screenshot

Compiling

stack build

Available stations

  • Jastarnia, run: stack exec jastarnia
  • Hel (simplified), run: stack exec hel

About

Dependent typed railway stations — a project for the Advanced Functional Programming course at MIMUW.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published