Title: Uni import fails with mediabench function - Non exhaustive pattern in "fromSingleton" · Issue #54 · unison-code/unison · GitHub
Open Graph Title: Uni import fails with mediabench function - Non exhaustive pattern in "fromSingleton" · Issue #54 · unison-code/unison
X Title: Uni import fails with mediabench function - Non exhaustive pattern in "fromSingleton" · Issue #54 · unison-code/unison
Description: Uni import fails when fromSingleton does not take as input a singleton, but rather a larger array. uni import --target=Mips pgp.language.readstr.mir -o pgp.language.readstr.uni --function=readstr --maxblocksize=50 --goal=speed Results in...
Open Graph Description: Uni import fails when fromSingleton does not take as input a singleton, but rather a larger array. uni import --target=Mips pgp.language.readstr.mir -o pgp.language.readstr.uni --function=readstr -...
X Description: Uni import fails when fromSingleton does not take as input a singleton, but rather a larger array. uni import --target=Mips pgp.language.readstr.mir -o pgp.language.readstr.uni --function=readstr -...
Opengraph URL: https://github.com/unison-code/unison/issues/54
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Uni import fails with mediabench function - Non exhaustive pattern in \"fromSingleton\"","articleBody":"Uni import fails when fromSingleton does not take as input a singleton, but rather a larger array.\r\n```bash\r\nuni import --target=Mips pgp.language.readstr.mir -o pgp.language.readstr.uni --function=readstr --maxblocksize=50 --goal=speed \r\n```\r\nResults in:\r\n```bash\r\nuni: src/Common/Util.hs:90:1-21: Non-exhaustive patterns in function fromSingleton\r\n```\r\n\r\n[pgp.language.readstr.tar.gz](https://github.com/unison-code/unison/files/5836653/pgp.language.readstr.tar.gz)\r\n","author":{"url":"https://github.com/romits800","@type":"Person","name":"romits800"},"datePublished":"2021-01-19T15:00:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/54/unison/issues/54"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8c728d82-c222-e4ed-12e6-0c5fbcabc32b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A7DC:9775E:1C9421B:271CF20:6A4F2442 |
| html-safe-nonce | 9a94cabd67c622dbfdbd8669fa9f0eafc430fafd67e06e98684b25e52753e21b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0RDOjk3NzVFOjFDOTQyMUI6MjcxQ0YyMDo2QTRGMjQ0MiIsInZpc2l0b3JfaWQiOiIyNjc4NjU0MjMzOTQzNjgwMDY2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | faede6df8986891e09e991836c9a051476d85209a150ebaff4c5fe120f32e998 |
| hovercard-subject-tag | issue:789097039 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/unison-code/unison/54/issue_layout |
| twitter:image | https://opengraph.githubassets.com/53a6c251cba05c857c75f99fd7c08d5833263fc8695b78367ee709997cb2e576/unison-code/unison/issues/54 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/53a6c251cba05c857c75f99fd7c08d5833263fc8695b78367ee709997cb2e576/unison-code/unison/issues/54 |
| og:image:alt | Uni import fails when fromSingleton does not take as input a singleton, but rather a larger array. uni import --target=Mips pgp.language.readstr.mir -o pgp.language.readstr.uni --function=readstr -... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | romits800 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| go-import | github.com/unison-code/unison git https://github.com/unison-code/unison.git |
| octolytics-dimension-user_id | 16610055 |
| octolytics-dimension-user_login | unison-code |
| octolytics-dimension-repository_id | 69359601 |
| octolytics-dimension-repository_nwo | unison-code/unison |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 69359601 |
| octolytics-dimension-repository_network_root_nwo | unison-code/unison |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b8f23afb982271f1b22258a94aede67a6b77760 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width