{"id":20009866,"url":"https://github.com/plsyssec/inline-fact","last_synced_at":"2025-10-13T09:44:02.419Z","repository":{"id":144629413,"uuid":"129309083","full_name":"PLSysSec/inline-fact","owner":"PLSysSec","description":"Inline FaCT in Haskell","archived":false,"fork":false,"pushed_at":"2019-02-22T07:51:23.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-01-12T14:37:54.202Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PLSysSec.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-12T20:43:17.000Z","updated_at":"2023-09-04T08:30:06.000Z","dependencies_parsed_at":"2023-07-04T19:15:35.054Z","dependency_job_id":null,"html_url":"https://github.com/PLSysSec/inline-fact","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/PLSysSec%2Finline-fact","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PLSysSec%2Finline-fact/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PLSysSec%2Finline-fact/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PLSysSec%2Finline-fact/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PLSysSec","download_url":"https://codeload.github.com/PLSysSec/inline-fact/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241447522,"owners_count":19964314,"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-13T07:17:19.709Z","updated_at":"2025-10-13T09:43:57.382Z","avatar_url":"https://github.com/PLSysSec.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Once you install [FaCT](https://github.com/PLSysSec/FaCT), you can use it inline in your Haskell project:\n\n```haskell\n{-# LANGUAGE QuasiQuotes #-}\n{-# LANGUAGE TemplateHaskell #-}\nimport Language.FaCT.Inline\n\n[fact|secret uint32 add(secret uint32 x, secret uint32 y) {\n  return x + y;\n}\n|]\n\n[fact|secret uint32 sub(secret uint32 x, secret uint32 y) {\n  return x - y;\n}\n|]\n\n\nmain :: IO ()\nmain = do\n  putStrLn \"hello!\"\n  res1 \u003c- add 3 55\n  putStrLn $ show res1\n  res2 \u003c- sub 55 3\n  putStrLn $ show res2\n  putStrLn \"bye!\"\n```\n\nThis is a small protype and should not be used in production code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplsyssec%2Finline-fact","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplsyssec%2Finline-fact","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplsyssec%2Finline-fact/lists"}