I'm currently writing my masters thesis and I'm using algorithm2e to write pseudocode. I regularly use SetKwData to display data types. However I would slighty like to change how this is displayed when using arguments.
If I for example would like to display a key value map data type that is polymorphic in both the key, and data I would write something like this
\SetKwData{DFoo}{Foo}
\SetKwData{DBar}{Bar}
\SetKwData{DMap}{Map}
\Dmap{\DFoo, DBar}
Then the compiled document would look something like
Map(Foo, Bar)
In my opinion this looks too much like a function call. I would like to change the parenthesis to something like Map<Foo, Bar>.

\makeatletter, and\makeatother. Not sure why they are required but it works! thank you – Casper Jun 13 '21 at 13:37@character, so@can be used as part of the name of control sequence, directly and locally (for example in\algocf@newcommand). Find more explanation in, e.g. https://tex.stackexchange.com/questions/106174/makeatletter-explained . – muzimuzhi Z Jun 13 '21 at 13:43