One more thing you need to know: single letter functions and variables always need a #:
#
#let h = 1 #let hi = 2 $h,#h,hi$