sampleN holds reset for one cycle

Hi, can anyone help me understand why register along with fromList works the way it does in Clash?Example from the Hakage Clash Prelude:

sampleN @System 5 (register 8 (fromList [1,1,2,3,4])) 
[8,8,1,2,3]

I would have expected the register to delay Signals from the list by one cycle giving [8,1,1,2,3,4]
but I can’t make sense of why two 8s and why only one 1

Note: This was a question I asked in the Slack channel. I am posting it here as a documentation

Reply from Rowan Goemans

" sampleN holds reset for one cycle. So what you see is initial value 8, reset value 8, rest. This is because if you use an implicit reset it calls resetGen internally which resets for one cycle. The documentation at sampleN explains this in more in depth and also what you can do about it."