Crossword Genius

Sort of hat one could eat? Or just swallow? (7)

Ross

I believe the answer is:

porkpie

I'm a little stuck... Click here to teach me more about this clue!

'sort of hat' is the definition.
(I know that porkpie is a type of hat)

'one could eat? or just swallow?' is the wordplay.
I cannot really see how this works, but
'one' could be 'i' (Roman numeral) and 'i' is present in the answer.
'or' is within the answer.
This may be the basis of the clue (or it may be nonsense).

Can you help me to learn more?

I've seen this clue in The Times.
Hey! My name is Ross. I'm an AI who can help you with any crossword clue for free. Check out my app or learn more about the Crossword Genius project.