Rosetta Code:Village Pump: Difference between revisions
(Link to new discussion) |
(username removed) (Test) |
||
(64 intermediate revisions by 25 users not shown) | |||
Line 1: | Line 1: | ||
This is the |
This is the place for Rosetta Code community activity. To start a new "thread", just append a "/" to the end of the URL of this page and give your thread a short title. On the new topic page add <pre><nowiki>{{Vptopic |
||
|topic=Title |
|||
*{{vp|Clearing breaks}} |
|||
|summary=Summary of the topic |
|||
*{{vp|Sort popular pump pages}} |
|||
}}</nowiki></pre>substituting your topic title for "Title" and a summary for "Summary of the topic". |
|||
*{{vp|Unknown sorting algorithm}} |
|||
{{#ask:[[Is village pump topic::true]] |
|||
*{{vp|Library template}} |
|||
|?Summary |
|||
*{{vp|Syntax Highlighting}} |
|||
|?Modification date |
|||
*{{vp|LinkedIn}} |
|||
|format=broadtable |
|||
*{{vp|CS Pages Wanted}} |
|||
|limit=20 |
|||
*{{vp|CAPTCHA problems}} |
|||
|order=desc |
|||
*{{vp|Task organization}} |
|||
|sort=Modification date |
|||
*{{vp|Omit bot}} |
|||
|searchlabel=Older topics... |
|||
*{{vp|Automate Village Pump}} |
|||
|offset=0 |
|||
*{{vp|IRC/wiki bridge}} |
|||
}} |
|||
*{{vp|Pre to Lang Tag Fixer}} |
|||
*{{vp|Unimplemented tasks}} |
|||
Hi, sorry to post this here but I don't know a better place. I wanted to create a new proposed task "Create statically-validated API" but it's impossible to create a page without solving a captcha, and the browser I use doesn't show the captcha (I was able to create this account using a phone browser, but that's no good for entering much text or code). Maybe someone can move it to the right place? (Added: I also had to de-link the urls to bypass the captcha). |
|||
*{{vp|Language template enhancements}} |
|||
*{{vp|Recent Changes broadcast}} |
|||
By the way I find this site a huge pain to use because of the captchas. Email verification for account creation is likely to be enough. |
|||
*{{vp|Bash_examples}} |
|||
*{{vp|Income}} |
|||
== create statically-validated API == |
|||
*{{vp|Works with against libheader}} |
|||
*{{vp|Screwed pages}} |
|||
This is a challenge proposed by Tony Morris here: |
|||
*{{vp|Image uploads}} |
|||
*{{vp|Enable Mediawiki API Edit}} |
|||
blog.tmorris.net/posts/understanding-practical-api-design-static-typing-and-functional-programming/ |
|||
*{{vp|Tex and Math}} |
|||
*{{vp|Foldable output}} |
|||
It is only for statically-typed languages and the challenge is to implement a Tic-tac-toe API that supports operations like starting a game, making a move, and seeing who won, where invalid arguments (such as asking who won an unfinished game) are rejected by the compiler as compile-time type errors. So it is mostly a test of how expressive the language's type system is. |
|||
*{{vp|Less Than X Examples}} |
|||
*{{vp|Admin assistance request}} |
|||
A Haskell solution (not by me) is here: |
|||
*{{vp|News Channel}} |
|||
*{{vp|Task creation process discussion}} |
|||
github.com/tismith/tictactoe-haskell/blob/master/Tictactoe.hs |
|||
*{{vp|Running the programs}} |
|||
*{{vp|Examples needing attention}} |
|||
Further discussion and links to some other solutions: |
|||
*{{vp|Search support}} |
|||
github.com/data61/fp-course/blob/master/projects/TicTacToe/TicTacToe.markdown |
Latest revision as of 18:10, 21 November 2023
This is the place for Rosetta Code community activity. To start a new "thread", just append a "/" to the end of the URL of this page and give your thread a short title. On the new topic page add
{{Vptopic |topic=Title |summary=Summary of the topic }}
substituting your topic title for "Title" and a summary for "Summary of the topic".
Hi, sorry to post this here but I don't know a better place. I wanted to create a new proposed task "Create statically-validated API" but it's impossible to create a page without solving a captcha, and the browser I use doesn't show the captcha (I was able to create this account using a phone browser, but that's no good for entering much text or code). Maybe someone can move it to the right place? (Added: I also had to de-link the urls to bypass the captcha).
By the way I find this site a huge pain to use because of the captchas. Email verification for account creation is likely to be enough.
create statically-validated API
This is a challenge proposed by Tony Morris here:
blog.tmorris.net/posts/understanding-practical-api-design-static-typing-and-functional-programming/
It is only for statically-typed languages and the challenge is to implement a Tic-tac-toe API that supports operations like starting a game, making a move, and seeing who won, where invalid arguments (such as asking who won an unfinished game) are rejected by the compiler as compile-time type errors. So it is mostly a test of how expressive the language's type system is.
A Haskell solution (not by me) is here:
github.com/tismith/tictactoe-haskell/blob/master/Tictactoe.hs
Further discussion and links to some other solutions:
github.com/data61/fp-course/blob/master/projects/TicTacToe/TicTacToe.markdown