我来到haskell有一些c背景知识,并想知道是否有类似的
#define print( a ) printf( "%s = %d\n", #a, a ) int a = 5; print( a );
应该打印
a = 5
?
haskell
haskell ×1