packages feed

haskell-tools-builtin-refactorings-1.1.1.0: examples/Refactor/ExtractBinding/Guards.hs

module Refactor.ExtractBinding.Guards where

fn xs
  | length xs == 2 = "2"
  | length xs == 3 = "3"
  | otherwise = "other"