You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For normal Typescript code, especially React, Cursor is very useful. It generates components as I write them, and I can save a ton of time. I use Cursor with claude-3-5-sonnet.
However, with fp-ts, I find that Cursor doesn't understand the context of fp-ts at all. It suggest wrong/irrelevant code most of the time. I actually find it detrimental to my coding speed, and turn Cursor off when writing fp-ts pipe functions.
Granted, I use custom imports, like R instead of RTE.
I think the LLM doesn't understand the concept of function pointers especially, as it tries to force the code into the pipe inline, and not create new functions. This is just one observation. It also doesn't seem to grasp the difference between TE.tryCatch and try {} catch {}, and so on.
Does anyone find any LLM assistants useful? What kind of flow to use to make them give useful/relevant suggestions?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
For normal Typescript code, especially React, Cursor is very useful. It generates components as I write them, and I can save a ton of time. I use Cursor with claude-3-5-sonnet.
However, with fp-ts, I find that Cursor doesn't understand the context of fp-ts at all. It suggest wrong/irrelevant code most of the time. I actually find it detrimental to my coding speed, and turn Cursor off when writing fp-ts
pipe
functions.Granted, I use custom imports, like R instead of RTE.
I think the LLM doesn't understand the concept of function pointers especially, as it tries to force the code into the pipe inline, and not create new functions. This is just one observation. It also doesn't seem to grasp the difference between TE.tryCatch and try {} catch {}, and so on.
Does anyone find any LLM assistants useful? What kind of flow to use to make them give useful/relevant suggestions?
Beta Was this translation helpful? Give feedback.
All reactions