{"id":16312315,"url":"https://github.com/jwiegley/refine-freer","last_synced_at":"2025-10-25T16:31:42.249Z","repository":{"id":66325590,"uuid":"138217680","full_name":"jwiegley/refine-freer","owner":"jwiegley","description":"Experiments with an extensible refinement framework","archived":false,"fork":false,"pushed_at":"2023-10-15T18:12:19.000Z","size":183,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-01-31T09:01:40.489Z","etag":null,"topics":["coq","effects","freer-effects","refinement"],"latest_commit_sha":null,"homepage":null,"language":"Coq","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/jwiegley.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,"governance":null}},"created_at":"2018-06-21T20:19:51.000Z","updated_at":"2024-11-02T10:32:14.000Z","dependencies_parsed_at":"2023-03-22T01:49:48.934Z","dependency_job_id":null,"html_url":"https://github.com/jwiegley/refine-freer","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/jwiegley%2Frefine-freer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwiegley%2Frefine-freer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwiegley%2Frefine-freer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwiegley%2Frefine-freer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jwiegley","download_url":"https://codeload.github.com/jwiegley/refine-freer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238183411,"owners_count":19430109,"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":["coq","effects","freer-effects","refinement"],"created_at":"2024-10-10T21:47:43.604Z","updated_at":"2025-10-25T16:31:36.968Z","avatar_url":"https://github.com/jwiegley.png","language":"Coq","funding_links":[],"categories":[],"sub_categories":[],"readme":"This repo is an implementation of [Freer Monads](http://okmij.org/ftp/Haskell/extensible/more.pdf) \n\n# Build\n1. Make sure you have the [nix package manager](https://nixos.org/nix/) installed.\n\n\n2. (Optional) If your are on MacOS, you can use [cachix](https://github.com/cachix/cachix) and use our pre-built cache.\nFor this, all you have to do is to run\n\n`$ nix-env -iA cachix -f https://github.com/NixOS/nixpkgs/tarball/889c72032f8595fcd7542c6032c208f6b8033db6`\n`$ cachix use refine-free`\n\n\n3. Build\n\n`$ nix-build`\n\nIn order to run Proof General with the correct nix configuration we still need a couple of extra steps:\n\n4. Install (Emacs-direnv)[https://github.com/wbolster/emacs-direnv]\n\n`M-x package-install RET direnv RET`\n\n5. Add the [this script](https://github.com/jwiegley/nix-config/blob/master/bin/use_nix.sh) to your path \n\n6. Add the following configuration to your .emacs file\n\n```emacs\n(use-package direnv\n  :demand t\n  :config\n  (direnv-mode)\n  (eval-after-load 'flycheck\n    '(setq flycheck-executable-find\n           (lambda (cmd)\n             (direnv-update-environment default-directory)\n             (executable-find cmd))))\n  :hook\n  (coq-mode . direnv-update-environment))\n```\n\n7. Run nix-shell\n\n`$ nix-shell`\n\n8. Now you can finally Proof General with the correct buffer\n\n`$ emacs src/Refine.v`\n\nPS.: Remember to always run `nix-shell` before emacs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwiegley%2Frefine-freer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjwiegley%2Frefine-freer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwiegley%2Frefine-freer/lists"}