{"id":18987006,"url":"https://github.com/owickstrom/haskell-robot-lab","last_synced_at":"2026-04-12T19:30:20.153Z","repository":{"id":22154037,"uuid":"25485371","full_name":"owickstrom/haskell-robot-lab","owner":"owickstrom","description":"An introductory Haskell lab.","archived":false,"fork":false,"pushed_at":"2014-10-21T05:51:49.000Z","size":143,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-01T13:23:13.660Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/owickstrom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-20T20:33:30.000Z","updated_at":"2019-12-21T00:51:54.000Z","dependencies_parsed_at":"2022-08-20T20:10:36.222Z","dependency_job_id":null,"html_url":"https://github.com/owickstrom/haskell-robot-lab","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owickstrom%2Fhaskell-robot-lab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owickstrom%2Fhaskell-robot-lab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owickstrom%2Fhaskell-robot-lab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owickstrom%2Fhaskell-robot-lab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/owickstrom","download_url":"https://codeload.github.com/owickstrom/haskell-robot-lab/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239996269,"owners_count":19731220,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T16:38:06.349Z","updated_at":"2026-04-12T19:30:20.110Z","avatar_url":"https://github.com/owickstrom.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Haskell Robot Lab\n\nThis is an introductory Haskell lab. The primary objective is to implement the\n`runAll` function that moves the robot given a string of commands. The commands\nare `G`, `R` and `L` for Go, Right and Left respectively.\n\n`Robots.hs` defines a simple main function that takes commands as input and\nprints the resulting robot and level. Start by implementing `runAll` a couple\nof lines down. After that, you can try the extras as well if you want to.\n\n## Prerequisites\n\nAll you need is GHC and an editor to get going. It is recommended to keep a REPL\nrunning to try out your functions and experiment with new stuff:\n\n## Starting the REPL\n\n```\n$ cd haskell-robot-lab\n$ ghci\n...\n```\n\n### Loading the code\n\nTo call your functions from the REPL you need to load the source file.\n\n```\nPrelude\u003e :l Robots.hs\n[1 of 1] Compiling Main             ( Robots.hs, interpreted )\nOk, modules loaded: Main.\nPrelude\u003e runAll (0, 0, 0.0) (20, 20) \"GGRR\"\n...\n```\n\n### The `main` function\n\nYou can run the `main` function directly from the REPL to try entering robot\ncommands.\n\n```\nPrelude\u003e main\nGRGGGGL\n...\n```\n\n### Reloading the code\n\nAfter editing `Robots.hs` you might want to reload it in the REPL.\n\n```\nPrelude\u003e :r\n[1 of 1] Compiling Main             ( Robots.hs, interpreted )\nOk, modules loaded: Main.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowickstrom%2Fhaskell-robot-lab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fowickstrom%2Fhaskell-robot-lab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowickstrom%2Fhaskell-robot-lab/lists"}