Difference between revisions of "User:Ashley Y"

From HaskellWiki
Jump to: navigation, search
m (fix <span> tag)
 
(25 intermediate revisions by 5 users not shown)
Line 3: Line 3:
 
I hereby license all my contributions to this wiki under the simple permissive license on [[HaskellWiki:Copyrights]]. &mdash;[[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]]. &mdash;[[User:Ashley Y|Ashley Y]] 05:25, 14 January 2006 (UTC)
   
== GeSHi Tests ==
 
  +
I am one of <span class="plainlinks">[{{fullurl:Special:Listusers|group=sysop}} the handful of admins]</span> on this wiki.
   
=== C ===
 
  +
[http://haskell.org/ghc/dist/current/docs/libraries/ Current libraries]
   
<c>
 
  +
[[HaskellWiki:Style test]]
for (int a=0;a<3;a++)
 
printf ("%d\n",a);
 
</c>
 
   
=== Haskell ===
 
  +
Haskell - the language of choice for people smarter than you.
   
<haskell>
 
  +
[[Special:CheckUser]]
{-
 
My program
 
-}
 
   
import Prelude
 
  +
__TOC__
   
foo :: (Monad m) -> m (Int,Int)
 
  +
== Haskell wishes ==
foo = (x-2,x - 1) where
 
x = 3
 
   
-- The main function
 
  +
Add:
main :: IO ()
 
  +
* Top-level <hask><-</hask>
main = do
 
  +
* Kind declarations
a <- foo
 
putStr ("And the answer is: " ++(show (fst a))++"\n")
 
</haskell>
 
   
Inline: <haskell>import Prelude</haskell>.
 
  +
Remove:
  +
* old-style <hask>deriving</hask> (newtype deriving is OK)
  +
* Typeable & Dynamic
  +
* Generics and all that "Scrap Your Boilerplate" nonsense
  +
* numeric defaulting
  +
* n+k patterns
   
Inline: <pre>pre</pre>.
 
  +
== Compilers ==
  +
  +
[[AHC]] [[BHC]] [[CHC]] [[DHC]] [[EHC]]<br/>
  +
[[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.

Current libraries

HaskellWiki:Style test

Haskell - the language of choice for people smarter than you.

Special:CheckUser

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