Just because Exercism doesn’t offer your favorite language as an official track, it doesn’t mean we can’t play at all. Post some solutions to the weekly challenges in the language of your choice!

  • @AndyOPM
    link
    23 months ago
    Difference of Squares
    USING: kernel math math.statistics ranges sequences ;
    
    : difference-of-squares ( n -- n' )
      [1..b] [ sum sq ] [ sum-of-squares ] bi - abs ;