Skip to content

bollerdominik/haskell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Haskell Assignment

This is a Haskell program that reads a remote JSON instance of temperatures and UTC times, using Network.HTTP.Conduit, and places them into haskell data structures using Data.Aeson. Data.Acid is used to persist this data across instances, and a combination of Happstack and Text.Blaze is used to serve this persisted data to a web browser at http://localhost:8000

A simple css is used and served through happstack from './static/screen.css'


Required cabal installation

  • Happstack
  • http-conduit
  • aeson
  • acid-state

How to run

  1. Compile using ghc -o temperatureReader temperatureReader.hs
  2. Run executable
  3. Access from localhost with http://localhost:8000

Resources

Template Haskell

Scrap your boilerplate

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published