{"id":21207298,"url":"https://github.com/cacilhas/personstudy","last_synced_at":"2026-02-22T00:40:43.470Z","repository":{"id":119028629,"uuid":"164480204","full_name":"cacilhas/PersonStudy","owner":"cacilhas","description":"Just a simple ML study.","archived":false,"fork":false,"pushed_at":"2019-01-08T16:30:20.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-14T23:26:30.448Z","etag":null,"topics":["exercise","sml","standard-ml"],"latest_commit_sha":null,"homepage":"","language":"Standard ML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cacilhas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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":"2019-01-07T19:19:46.000Z","updated_at":"2020-04-23T05:02:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"32928de3-1e64-4eb8-ba84-42c5808250f7","html_url":"https://github.com/cacilhas/PersonStudy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cacilhas/PersonStudy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cacilhas%2FPersonStudy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cacilhas%2FPersonStudy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cacilhas%2FPersonStudy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cacilhas%2FPersonStudy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cacilhas","download_url":"https://codeload.github.com/cacilhas/PersonStudy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cacilhas%2FPersonStudy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29701120,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T23:35:04.139Z","status":"ssl_error","status_checked_at":"2026-02-21T23:35:03.832Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["exercise","sml","standard-ml"],"created_at":"2024-11-20T20:58:22.301Z","updated_at":"2026-02-22T00:40:43.455Z","avatar_url":"https://github.com/cacilhas.png","language":"Standard ML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PersonStudy\n\nThis is a simple ML study. It explores concepts like signature, structure, type\naliases, and template matching.\n\n## `Person` structure\n\nThe `Person` structure is the main one. Its API has three functions:\n\n- `Person.new : string -\u003e Person.date -\u003e Person.place -\u003e Person.person` builds and return a person\n- `Person.birthDate : Person.person -\u003e Person.date` returns the person’s birth date\n- `Person.hometown : Person.person -\u003e Person.place` returns the person’s hometown\n- `Person.show : Person.person -\u003e string` serialises the person for show\n\nThe type aliases are:\n\n- `Person.date`: the same `Birth.date` – `Date.date` from basis\n- `Person.place`: the same `Birth.place` – string option\n- `Person.person`: a hash containing the keys `name` (string) and `birth` (`Birth.birth`)\n\nThe `Person` structure depends on the `Birth` structure.\n\n## `Birth` structure\n\nThe `Birth` structure manage birth date and place. Its API has two functions:\n\n- `Birth.new : Birth.date -\u003e Birth.place -\u003e Birth.birth` builds and return a birth\n- `Birth.show : Birth.birth -\u003e string` serialises the birth for show\n\nThe type aliases are:\n\n- `Birth.date`: `Date.date` from basis\n- `Birth.place`: string option\n- `Birth.birth`: a hash containing the keys `date` (`Birth.date`) and `place` (`Birth.place`)\n\n## `Prompt` structure\n\nThe `Prompt` structure offers helpers to request informations from standard\ninput.\n\n- `Prompt.forInt : Prompt.message -\u003e int option` requests an integer\n- `Prompt.forOpt : Prompt.message -\u003e string option` requests a string\n- `Prompt.forStr : Prompt.message -\u003e string` requests a straight string\n- `Prompt.getDate : Prompt.message -\u003e Date.date` requests a date\n\n`forInt` and `forOpt` return `NONE` when the supplied value is invalid.\n\nThe type alias `Prompt.message` is string.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcacilhas%2Fpersonstudy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcacilhas%2Fpersonstudy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcacilhas%2Fpersonstudy/lists"}