A good way to find examples is to search GitHub repositories using a query like the following:
When using listings, it is pretty common practice to configure settings for each specific paper, adding/removing keywords and setting options to make the code in that paper look as desired. You can check the source definition for the Haskell “driver” (based on Haskell98) in the lstdrvrs.pdf documentation to better understand the defaults.
Searching for recent examples, I found the following, which uses
Here is another example, which uses
Note that the minted package is a popular alternative to
listings that uses Pygments for syntax highlighting. You might want to consider it, particularly if you want more sophisticated syntax highlighting than
listings can provide.