# 6e8afae15343663c1062c09efa04bdeb50ba3f75ed9dd4e8660bebb0550f7c12 Elan 1.8.2 guest default_profile valid

class Pupil
  property mathsPercent as Int

end class

main
  let allPupils be new List<of Pupil>()
  variable passes set to allPupils.filter(ref passedMathsTest)
end main

function passedMathsTest(p as Pupil) returns Boolean
  return p.mathsPercent > 35
end function
