{"@context":"https://w3id.org/codemeta/3.0","@type":"SoftwareSourceCode","identifier":"pkg:hackage/fn","name":"fn","description":"A Haskell web framework where you write plain old functions.\n\nProvided you have stack installed, you can run this example like a shell script (it'll listen on port 3000):\n\nFn lets you write web code that just looks like normal Haskell code.\n\nAn application has some \"context\", which must contain a Request,\nbut can contain other data as well, like database connection pools,\netc. This context will be passed to each of your handlers, updated\nwith the current HTTP Request.\n\nRoutes are declared to capture parameters and/or segments of the url,\nand then routed to handler functions that have the appropriate number\nand type of arguments. These functions return IO (Maybe Response),\nwhere Nothing indicates to Fn that you want it to keep looking for\nmatching routes.\n\nAll handlers just use plain old IO, which means it is easy to call\nthem from GHCi, forkIO, etc.\n\nAll of this is a small wrapper around the WAI interface, so you have\nthe flexilibility to do anything you need to do with HTTP.\n\nThe name comes from the fact that Fn emphasizes functions (over monads),\nwhere all necessary data is passed via function arguments, and control\nflow is mediated by return values.","version":"0.3.0.2","softwareVersion":"0.3.0.2","license":"https://spdx.org/licenses/ISC","codeRepository":"https://github.com/positiondev/fn","issueTracker":"https://github.com/positiondev/fn/issues","url":"http://github.com/positiondev/fn#readme","keywords":["library","web","Propose Tags"],"programmingLanguage":{"@type":"ComputerLanguage","name":"Haskell"},"maintainer":[{"@type":"Person","name":"DanielPatterson"},{"@type":"Person","name":"LibbyHoracek"}],"author":[{"@type":"Person","name":"DanielPatterson"},{"@type":"Person","name":"LibbyHoracek"}],"copyrightHolder":[{"@type":"Person","name":"DanielPatterson"},{"@type":"Person","name":"LibbyHoracek"}],"dateCreated":"2015-10-25","dateModified":"2017-09-13","datePublished":"2017-09-13","copyrightYear":2015,"downloadUrl":"https://hackage.haskell.org/package/fn-0.3.0.2/fn-0.3.0.2.tar.gz","applicationCategory":"hackage","runtimePlatform":"hackage","developmentStatus":"active","sameAs":["https://hackage.haskell.org/package/fn"],"https://www.w3.org/ns/activitystreams#likes":34,"https://forgefed.org/ns#forks":7}