Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualCornstalks

Posted 18 April 2013 - 08:41 PM

I wonder what this thread would be like if people were talking about Racket/Scheme instead:
#lang racket
 
{define {foo bar}
  {if {= 5 bar}
      {display "It was 5\n"}
      {if {not {= 42 bar}}
          {display "It was something else\n"}
          {display "It was The Answer\n"}}}}
 
{foo 15}

#2Cornstalks

Posted 18 April 2013 - 08:40 PM

I wonder what this thread would be like if people were talking about Racket/Scheme instead:

 


#lang racket
 
{define {foo bar}
  {if {= 5 bar}
      {display "It was 5\n"}
      {if {not {= 42 bar}}
          {display "It was something else\n"}
          {display "It was The Answer\n"}}}}
 
{foo 15}

#1Cornstalks

Posted 18 April 2013 - 08:38 PM

I wonder what this thread would be like if people were talking about Racket/Scheme instead:

 
#lang racket
 
{define {foo bar}
  {if {not {= 5 bar}}
      {display "It was not 5\n"}
      {if {= 42 bar}
          {display "It was The Answer\n"}
          {display "It was something else\n"}}}}
 
{foo 5}

PARTNERS