Difference between revisions of "User:Ashley Y"
Jump to navigation
Jump to search
m (fix <span> tag) |
|||
(12 intermediate revisions by 5 users not shown) | |||
Line 2: | Line 2: | ||
I hereby license all my contributions to this wiki under the simple permissive license on [[HaskellWiki:Copyrights]]. —[[User:Ashley Y|Ashley Y]] 05:25, 14 January 2006 (UTC) |
I hereby license all my contributions to this wiki under the simple permissive license on [[HaskellWiki:Copyrights]]. —[[User:Ashley Y|Ashley Y]] 05:25, 14 January 2006 (UTC) |
||
+ | |||
+ | I am one of <span class="plainlinks">[{{fullurl:Special:Listusers|group=sysop}} the handful of admins]</span> on this wiki. |
||
[http://haskell.org/ghc/dist/current/docs/libraries/ Current libraries] |
[http://haskell.org/ghc/dist/current/docs/libraries/ Current libraries] |
||
+ | |||
+ | [[HaskellWiki:Style test]] |
||
+ | |||
+ | Haskell - the language of choice for people smarter than you. |
||
+ | |||
+ | [[Special:CheckUser]] |
||
__TOC__ |
__TOC__ |
||
Line 10: | Line 18: | ||
Add: |
Add: |
||
+ | * Top-level <hask><-</hask> |
||
− | * Open types and functions |
||
* Kind declarations |
* Kind declarations |
||
Line 20: | Line 28: | ||
* n+k patterns |
* n+k patterns |
||
− | == |
+ | == Compilers == |
− | |||
− | === C === |
||
− | |||
− | <pre-c> |
||
− | for (int a=0;a<3;a++) |
||
− | printf ("%d\n",a); |
||
− | </pre-c> |
||
− | |||
− | === Haskell === |
||
− | |||
− | <haskell> |
||
− | {- |
||
− | My program |
||
− | -} |
||
− | |||
− | import Prelude |
||
− | |||
− | foo :: (Monad m) -> m (Int,Int) |
||
− | foo = (x-2,x - 1) where |
||
− | x = 3 |
||
− | |||
− | -- The main function |
||
− | main :: IO () |
||
− | main = do |
||
− | a <- foo |
||
− | putStr ("And the answer is: " ++(show (fst a))++"\n") |
||
− | </haskell> |
||
− | |||
− | Inline: <hask>import Prelude</hask>. |
||
+ | [[AHC]] [[BHC]] [[CHC]] [[DHC]] [[EHC]]<br/> |
||
− | Inline: <pre>pre</pre>. |
||
+ | [[FHC]] [[GHC]] [[HHC]] [[IHC]] [[JHC]]<br/> |
||
+ | [[KHC]] [[LHC]] [[MHC]] [[NHC]] [[OHC]]<br/> |
||
+ | [[PHC]] [[QHC]] [[RHC]] [[SHC]] [[THC]]<br/> |
||
+ | [[UHC]] [[VHC]] [[WHC]] [[XHC]] [[YHC]]<br/> |
||
+ | [[ZHC]] |
Latest revision as of 01:22, 19 June 2019
Ashley Yakeley
I hereby license all my contributions to this wiki under the simple permissive license on HaskellWiki:Copyrights. —Ashley Y 05:25, 14 January 2006 (UTC)
I am one of the handful of admins on this wiki.
Haskell - the language of choice for people smarter than you.
Haskell wishes
Add:
- Top-level
<-
- Kind declarations
Remove:
- old-style
deriving
(newtype deriving is OK) - Typeable & Dynamic
- Generics and all that "Scrap Your Boilerplate" nonsense
- numeric defaulting
- n+k patterns
Compilers
AHC BHC CHC DHC EHC
FHC GHC HHC IHC JHC
KHC LHC MHC NHC OHC
PHC QHC RHC SHC THC
UHC VHC WHC XHC YHC
ZHC