Preheat oven to 375 degrees and line a baking sheet with a silpat or parchment paper.
Sift together flour, cinnamon, baking soda, and salt.
Beat together the butter, both sugars, the egg yolk, and vanilla in a bowl with an electric mixer until pale and fluffy, about 3 minutes. Mix in carrot and raisins on low speed. Slowly add the flour mixture, beating just until combined.
Using a small cookie scoop (or a standard spoon) drop 1/2 Tbsps of batter 2 inches apart on the baking sheet. Bake until the edges of the cookies are lightly browned and the tops are springy to the touch, about 9 to 10 min. minutes. Cool cookies on sheets about one minute, then transfer to a cooling rack.