Effect CommunityEC
Effect Communityβ€’3y agoβ€’
10 replies
Stephen Bluck

Naming Convention for Token, TokenTag, and Tag

What do you use as a naming convension when you come across these three things:
export type Token = S.To<typeof Token>
export const Token = pipe(S.string, S.brand('Token'))
export const TokenTag = Context.Tag<Token>('@app/Token');


I am not a fan of putting Tag on the end of my tags...
Was this page helpful?